Class ServerPropertyValidator

    • Constructor Detail

      • ServerPropertyValidator

        public ServerPropertyValidator()
    • Method Detail

      • validate

        public boolean validate​(Set<String> properties)
        Validates a set of server configuration properties.
        Specified by:
        validate in interface ServiceAttributeValidator
        Parameters:
        properties - Set of String of this format name=value.
        Returns:
        true if validates successfully; false otherwise
      • getTrueValue

        public static String getTrueValue​(String propertyKey)
        Returns the true value of a property.
        Parameters:
        propertyKey - Key of property.
        Returns:
        the true value of a property.
      • getFalseValue

        public static String getFalseValue​(String propertyKey)
        Returns the false value of a property.
        Parameters:
        propertyKey - Key of property.
        Returns:
        the false value of a property.