Class AbstractConfigurationCapabilityAndTypeValidator

    • Constructor Detail

      • AbstractConfigurationCapabilityAndTypeValidator

        public AbstractConfigurationCapabilityAndTypeValidator​(ConfigurationType type,
                                                               String supportsProperty)
        Saves the attributes.
        type - Configuration type to check.
        supportsProperty - Property support to check.
    • Method Detail

      • validate

        public boolean validate​(String containerId,
                                ContainerType containerType)
        Checks if the container supports the given property with the given type. Validate if a container has a given configuration.
        containerId - Container identifier.
        containerType - Container type.
        true if the given container supports the current validator, false otherwise.