Class HasDirectoryPackagerValidator
- java.lang.Object
-
- org.codehaus.cargo.sample.java.validator.AbstractPackagerValidator
-
- org.codehaus.cargo.sample.java.validator.HasDirectoryPackagerValidator
-
- All Implemented Interfaces:
Validator
public class HasDirectoryPackagerValidator extends AbstractPackagerValidator
Validate that the specified container has a directory packager registered.
-
-
Field Summary
-
Fields inherited from class org.codehaus.cargo.sample.java.validator.AbstractPackagerValidator
factory
-
-
Constructor Summary
Constructors Constructor Description HasDirectoryPackagerValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
validate(String containerId, ContainerType type)
Validate if a container has a given configuration.
-
-
-
Method Detail
-
validate
public boolean validate(String containerId, ContainerType type)
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.
-
-