Class TaskConfig
java.lang.Object
com.thoughtworks.go.plugin.api.config.Configuration
com.thoughtworks.go.plugin.api.task.TaskConfig
- All Implemented Interfaces:
PluginPreference
Deprecated.
Allows the plugin to specify information about the configuration it accepts and expects.
This class, at other times, is used to hold information about the value provided by the
user, for the configuration.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddProperty(String propertyName) Deprecated.Adds a property to the configuration of this task.Deprecated.Retrieves the value of a property.list()Deprecated.Returns copy of properties listMethods inherited from class com.thoughtworks.go.plugin.api.config.Configuration
add, get, size
-
Constructor Details
-
TaskConfig
public TaskConfig()Deprecated.
-
-
Method Details
-
addProperty
Deprecated.Adds a property to the configuration of this task.- Parameters:
propertyName- Name of the property (or key) in the configuration.- Returns:
- an instance of
TaskConfigProperty
-
getValue
Deprecated.Retrieves the value of a property.- Parameters:
propertyName- Name of the property (or key) in the configuration.- Returns:
- the value of the specified property, or null if not found.
-
list
Deprecated.Description copied from class:ConfigurationReturns copy of properties list- Overrides:
listin classConfiguration- Returns:
- copy of properties list
-