Class ListenerCreateRule.OptionalListener

    • Constructor Detail

      • OptionalListener

        public OptionalListener​(String className)
    • Method Detail

      • getClassName

        public String getClassName()
        Returns:
        the className
      • getProperties

        public Set<String> getProperties()
        Return a set of the property keys.
        Returns:
        the set
      • getProperty

        public Object getProperty​(String name)
        Return a property from the protocol handler.
        Parameters:
        name - the property name
        Returns:
        the property value
      • setProperty

        public boolean setProperty​(String name,
                                   String value)
        Set the given property.
        Parameters:
        name - the property name
        value - the property value
        Returns:
        true