Class HasPortOffsetValidator

  • All Implemented Interfaces:
    Validator

    public class HasPortOffsetValidator
    extends Object
    implements Validator
    Validator, that check if the container supports port offset.
    • Constructor Detail

      • HasPortOffsetValidator

        public HasPortOffsetValidator​(ConfigurationType configurationType)
        Check if the container supports port offset.
        Parameters:
        configurationType - Configuration type.
    • Method Detail

      • validate

        public boolean validate​(String containerId,
                                ContainerType type)
        Description copied from interface: Validator
        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.