Class NullConfigurationCapability
- java.lang.Object
-
- org.codehaus.cargo.container.spi.configuration.NullConfigurationCapability
-
- All Implemented Interfaces:
ConfigurationCapability
public class NullConfigurationCapability extends Object implements ConfigurationCapability
Implementation ofConfigurationCapability
that doesn't support anything.
-
-
Constructor Summary
Constructors Constructor Description NullConfigurationCapability()
-
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:
- Always returns
false
.
-
getProperties
public Map<String,Boolean> getProperties()
- Specified by:
getProperties
in interfaceConfigurationCapability
- Returns:
- Always returns
Collections.emptyMap()
.
-
-