public abstract class AbstractConfiguration extends org.codehaus.cargo.util.log.LoggedObject implements ContainerConfiguration, Configuration
ContainerConfiguration
that can be
specialized for any type of configuration.Constructor and Description |
---|
AbstractConfiguration()
Default setup.
|
Modifier and Type | Method and Description |
---|---|
Map |
getProperties() |
String |
getPropertyValue(String name) |
void |
setProperty(String name,
String value)
A property is a configuration value for the container (eg the web port, the number of
executing threads, etc).
|
void |
verify()
Verify that the configuration is valid.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCapability, getType
public void setProperty(String name, String value)
setProperty
in interface Configuration
name
- the property namevalue
- the property valueConfiguration.setProperty(String, String)
public Map getProperties()
getProperties
in interface Configuration
Configuration.getProperties()
public String getPropertyValue(String name)
getPropertyValue
in interface Configuration
name
- the property name for which to return the valueConfiguration.getPropertyValue(String)
public void verify()
verify
in interface ContainerConfiguration
ContainerConfiguration.verify()
Copyright © 2004-2013 Codehaus. All Rights Reserved.