Class IsInstalledLocalContainerValidator
- java.lang.Object
-
- org.codehaus.cargo.sample.java.validator.AbstractConfigurationCapabilityValidator
-
- org.codehaus.cargo.sample.java.validator.IsInstalledLocalContainerValidator
-
- All Implemented Interfaces:
Validator
public class IsInstalledLocalContainerValidator extends AbstractConfigurationCapabilityValidator
Validate that a container is an installed local container.
-
-
Field Summary
-
Fields inherited from class org.codehaus.cargo.sample.java.validator.AbstractConfigurationCapabilityValidator
factory
-
-
Constructor Summary
Constructors Constructor Description IsInstalledLocalContainerValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
validate(String containerId, ContainerType type)
Check if the container is an installed local container.
-
-
-
Method Detail
-
validate
public boolean validate(String containerId, ContainerType type)
Check if the container is an installed local container. 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.
-
-