Class AbstractContainerFactoryValidator

    • Constructor Detail

      • AbstractContainerFactoryValidator

        public AbstractContainerFactoryValidator​(ContainerType type)
        Saves the type to check for.
        Parameters:
        type - type to check for.
    • Method Detail

      • validate

        public boolean validate​(String containerId,
                                ContainerType type)
        Validate if a container has a given configuration.
        Specified by:
        validate in interface Validator
        Parameters:
        containerId - Container identifier.
        type - Container type.
        Returns:
        true if the given container supports the current validator, false otherwise.