Class IsLocalContainerValidator

  • All Implemented Interfaces:
    Validator

    public class IsLocalContainerValidator
    extends Object
    implements Validator
    Validate that a container is a local container.
    • Constructor Detail

      • IsLocalContainerValidator

        public IsLocalContainerValidator()
    • Method Detail

      • validate

        public boolean validate​(String containerId,
                                ContainerType type)
        Check if the container is a local container. 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.