Class HasDeployableSupportValidator
- java.lang.Object
-
- org.codehaus.cargo.sample.java.validator.HasDeployableSupportValidator
-
- All Implemented Interfaces:
Validator
- Direct Known Subclasses:
HasBundleSupportValidator,HasEarSupportValidator,HasWarSupportValidator
public class HasDeployableSupportValidator extends Object implements Validator
Validator, that instanciates theContainerCapabilityFactoryforDeployableType.
-
-
Constructor Summary
Constructors Constructor Description HasDeployableSupportValidator(DeployableType deployableType)Saves the type to check for.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanvalidate(String containerId, ContainerType type)Validate if a container has a given configuration.
-
-
-
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.
-
-