Class AbstractConfigurationCapabilityAndTypeValidator

    • Constructor Detail

      • AbstractConfigurationCapabilityAndTypeValidator

        public AbstractConfigurationCapabilityAndTypeValidator​(ConfigurationType type,
                                                               String supportsProperty)
        Saves the attributes.
        Parameters:
        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.
        Parameters:
        containerId - Container identifier.
        containerType - Container type.
        Returns:
        true if the given container supports the current validator, false otherwise.