Class StartsWithContainerValidator
- java.lang.Object
-
- org.codehaus.cargo.sample.java.validator.StartsWithContainerValidator
-
-
Constructor Summary
Constructors Constructor Description StartsWithContainerValidator(String... containerIdPrefix)
Saves attributes.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
validate(String containerId, ContainerType type)
Check if the container id starts with the passed container id prefix.
-
-
-
Constructor Detail
-
StartsWithContainerValidator
public StartsWithContainerValidator(String... containerIdPrefix)
Saves attributes.- Parameters:
containerIdPrefix
- Container identifier prefix. this.containerIdPrefix = containerIdPrefix;
-
-
Method Detail
-
validate
public boolean validate(String containerId, ContainerType type)
Check if the container id starts with the passed container id prefix. Validate if a container has a given configuration.
-
-