Class AbstractConfigurationCapability
- java.lang.Object
-
- org.codehaus.cargo.container.spi.configuration.AbstractConfigurationCapability
-
- All Implemented Interfaces:
ConfigurationCapability
- Direct Known Subclasses:
AbstractLocalConfigurationCapability
,AbstractRuntimeConfigurationCapability
public abstract class AbstractConfigurationCapability extends Object implements ConfigurationCapability
Base implementation ofConfigurationCapability
that needs to be extended by the different configuration implementations.
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,Boolean>
propertySupportMap
Property support Map.
-
Constructor Summary
Constructors Constructor Description AbstractConfigurationCapability()
Initialize the property supports Map.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Boolean>
getProperties()
boolean
supportsProperty(String propertyName)
-
-
-
Method Detail
-
supportsProperty
public boolean supportsProperty(String propertyName)
- Specified by:
supportsProperty
in interfaceConfigurationCapability
- Parameters:
propertyName
- the property for which to verify the support for this configuration- Returns:
- true if the configuration supports the passed property
-
getProperties
public Map<String,Boolean> getProperties()
- Specified by:
getProperties
in interfaceConfigurationCapability
- Returns:
- the list of supported or not supported configuration properties
-
-