Class AbstractContainerFactoryValidator
- java.lang.Object
-
- org.codehaus.cargo.sample.java.validator.AbstractContainerFactoryValidator
-
- All Implemented Interfaces:
Validator
- Direct Known Subclasses:
HasInstalledLocalContainerValidator
,HasRemoteContainerValidator
public abstract class AbstractContainerFactoryValidator extends Object implements Validator
Abstract validator, that instanciates theContainerFactory
.
-
-
Constructor Summary
Constructors Constructor Description AbstractContainerFactoryValidator(ContainerType type)
Saves the type to check for.
-
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.
-
-
-
Constructor Detail
-
AbstractContainerFactoryValidator
public AbstractContainerFactoryValidator(ContainerType type)
Saves the type to check for.- Parameters:
type
- type to check for.
-
-
Method Detail
-
validate
public boolean validate(String containerId, ContainerType type)
Validate if a container has a given configuration.
-
-