org.codehaus.cargo.container.configuration
Interface Configuration
- All Superinterfaces:
- org.codehaus.cargo.util.log.Loggable
- All Known Subinterfaces:
- ExistingLocalConfiguration, LocalConfiguration, RuntimeConfiguration, StandaloneLocalConfiguration
- All Known Implementing Classes:
- AbstractConfiguration, AbstractExistingLocalConfiguration, AbstractLocalConfiguration, AbstractRuntimeConfiguration, AbstractStandaloneLocalConfiguration
- public interface Configuration
- extends org.codehaus.cargo.util.log.Loggable
A configuration represents how a container is configured: where deployables are deployed,
container ports, logging levels, container authentication, etc. Cargo supports several
types of configuration:
-
local configuration: it represents a configuration located somewhere on the local
file system. A local configuration is activated before the
container is started.
-
runtime configuration: it represents a configuration for a container that is
already started. The settings that can be set/unset depend
on the container's capability for dynamically changing
settings.
- Version:
- $Id: Configuration.java 886 2006-02-28 12:40:47Z vmassol $
Methods inherited from interface org.codehaus.cargo.util.log.Loggable |
getLogger, setLogger |
setProperty
public void setProperty(java.lang.String name,
java.lang.String value)
- A property is a configuration value for the container (eg the web port, the number of
executing threads, etc).
- Parameters:
name
- the property namevalue
- the property value
getProperties
public java.util.Map getProperties()
- Returns:
- the list of properties set
- See Also:
setProperty(String, String)
getPropertyValue
public java.lang.String getPropertyValue(java.lang.String name)
- Parameters:
name
- the property name for which to return the value
- Returns:
- the property's value
- See Also:
setProperty(String, String)
getCapability
public ConfigurationCapability getCapability()
- Returns:
- the
ConfigurationCapability
of the configuration in term of properties it
supports, etc
getType
public ConfigurationType getType()
- Returns:
- the configuration type (standalone, existing, runtime, etc)
Copyright © 2004-2007 Codehaus. All Rights Reserved.