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