Class HasRemoteDeployerValidator
- java.lang.Object
-
- org.codehaus.cargo.sample.java.validator.AbstractDeployerFactoryValidator
-
- org.codehaus.cargo.sample.java.validator.HasRemoteDeployerValidator
-
- All Implemented Interfaces:
Validator
public class HasRemoteDeployerValidator extends AbstractDeployerFactoryValidator
Validate that the specified container has a remote deployer.
-
-
Field Summary
-
Fields inherited from class org.codehaus.cargo.sample.java.validator.AbstractDeployerFactoryValidator
factory
-
-
Constructor Summary
Constructors Constructor Description HasRemoteDeployerValidator()
-
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 remote deployer available.
-
-
-
Method Detail
-
validate
public boolean validate(String containerId, ContainerType type)
Check if the container has a remote 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.
-
-