Class HasDirectoryPackagerValidator

  • All Implemented Interfaces:
    Validator

    public class HasDirectoryPackagerValidator
    extends AbstractPackagerValidator
    Validate that the specified container has a directory packager registered.
    • Constructor Detail

      • HasDirectoryPackagerValidator

        public HasDirectoryPackagerValidator()
    • Method Detail

      • validate

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