Class HasDeployableSupportValidator

    • Constructor Detail

      • HasDeployableSupportValidator

        public HasDeployableSupportValidator​(DeployableType deployableType)
        Saves the type to check for.
        Parameters:
        deployableType - 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.