Class Config
- java.lang.Object
-
- org.sonatype.plexus.components.sec.dispatcher.model.Config
-
- All Implemented Interfaces:
java.io.Serializable
public class Config extends java.lang.Object implements java.io.Serializable
Named configuration.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
name
name of this configuration.private java.util.List<ConfigProperty>
properties
Field properties.
-
Constructor Summary
Constructors Constructor Description Config()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addProperty(ConfigProperty configProperty)
Method addProperty.java.lang.String
getName()
Get name of this configuration.java.util.List<ConfigProperty>
getProperties()
Method getProperties.void
removeProperty(ConfigProperty configProperty)
Method removeProperty.void
setName(java.lang.String name)
Set name of this configuration.void
setProperties(java.util.List<ConfigProperty> properties)
Set properties.
-
-
-
Field Detail
-
name
private java.lang.String name
name of this configuration.
-
properties
private java.util.List<ConfigProperty> properties
Field properties.
-
-
Method Detail
-
addProperty
public void addProperty(ConfigProperty configProperty)
Method addProperty.- Parameters:
configProperty
-
-
getName
public java.lang.String getName()
Get name of this configuration.- Returns:
- String
-
getProperties
public java.util.List<ConfigProperty> getProperties()
Method getProperties.- Returns:
- List
-
removeProperty
public void removeProperty(ConfigProperty configProperty)
Method removeProperty.- Parameters:
configProperty
-
-
setName
public void setName(java.lang.String name)
Set name of this configuration.- Parameters:
name
-
-
setProperties
public void setProperties(java.util.List<ConfigProperty> properties)
Set properties.- Parameters:
properties
-
-
-