Examples of ConfigurationRequest


Examples of org.graylog2.plugin.configuration.ConfigurationRequest

    @ConfigClass
    public static class Config implements Codec.Config {
        @Override
        public ConfigurationRequest getRequestedConfiguration() {
            return new ConfigurationRequest();
        }
View Full Code Here

Examples of org.graylog2.plugin.configuration.ConfigurationRequest

    @ConfigClass
    public static class Config implements Codec.Config {
        @Override
        public ConfigurationRequest getRequestedConfiguration() {
            final ConfigurationRequest r = new ConfigurationRequest();

            r.addField(
                    new BooleanField(
                            CK_FORCE_RDNS,
                            "Force rDNS?",
                            false,
                            "Force rDNS resolution of hostname? Use if hostname cannot be parsed."
                    )
            );

            r.addField(
                    new BooleanField(
                            CK_ALLOW_OVERRIDE_DATE,
                            "Allow overriding date?",
                            true,
                            "Allow to override with current date if date could not be parsed?"
                    )
            );

            r.addField(
                    new BooleanField(
                            CK_STORE_FULL_MESSAGE,
                            "Store full message?",
                            false,
                            "Store the full original syslog message as full_message?"
                    )
            );

            r.addField(
                    new BooleanField(
                            CK_EXPAND_STRUCTURED_DATA,
                            "Expand structured data?",
                            false,
                            "Expand structured data elements by prefixing attributes with their SD-ID?"
View Full Code Here

Examples of org.jboss.errai.cdi.test.stress.client.shared.ConfigurationRequest

    confGrid.setWidget(1, 3, setConfigButton);

    setConfigButton.addClickHandler(new ClickHandler() {
      @Override
      public void onClick(ClickEvent event) {
        ConfigurationRequest cr = new ConfigurationRequest();
        try {
          cr.setMessageCount(messagesPerBurst.getValueOrThrow());
          cr.setMessageInterval(burstInterval.getValueOrThrow());
          cr.setPayloadSize(payloadSize.getValueOrThrow());
          configurationEvent.fire(cr);
        } catch (ParseException e) {
          Window.alert("The configuration values all have to be whole, positive numbers.");
        }
      }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.