Class HasLocalDeployerValidator
- java.lang.Object
-
- org.codehaus.cargo.sample.java.validator.AbstractDeployerFactoryValidator
-
- org.codehaus.cargo.sample.java.validator.HasLocalDeployerValidator
-
- All Implemented Interfaces:
Validator
public class HasLocalDeployerValidator extends AbstractDeployerFactoryValidator
Validate that the specified container has a local deployer.
-
-
Field Summary
-
Fields inherited from class org.codehaus.cargo.sample.java.validator.AbstractDeployerFactoryValidator
factory
-
-
Constructor Summary
Constructors Constructor Description HasLocalDeployerValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
validate(String containerId, ContainerType type)
Check if the container has a local deployer available.
-
-
-
Method Detail
-
validate
public boolean validate(String containerId, ContainerType type)
Check if the container has a local deployer available. Validate if a container has a given configuration.- Parameters:
containerId
- Container identifier.type
- Container type.- Returns:
true
if the given container supports the current validator,false
otherwise.
-
-