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