Class Configuration
java.lang.Object
com.thoughtworks.go.plugin.api.config.Configuration
- All Implemented Interfaces:
PluginPreference
- Direct Known Subclasses:
PackageConfiguration,RepositoryConfiguration,TaskConfig
Deprecated.
Container for holding configuration properties for a package or repository
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Configuration
public Configuration()Deprecated.
-
-
Method Details
-
add
Deprecated.Adds given property as configuration- Parameters:
property- this is the property to be added to the configuration
-
get
Deprecated.Gets property for a given property key- Parameters:
key- the key whose associated property to be returned- Returns:
- the property to which the specified key is mapped, or null if this property with given key not found
-
size
public int size()Deprecated.Returns number of properties in this configuration- Returns:
- number of properties in this configuration
-
list
Deprecated.Returns copy of properties list- Returns:
- copy of properties list
-