Class TaskConfig
- java.lang.Object
-
- com.thoughtworks.go.plugin.api.config.Configuration
-
- com.thoughtworks.go.plugin.api.task.TaskConfig
-
- All Implemented Interfaces:
PluginPreference
@Deprecated public class TaskConfig extends Configuration
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 Constructor Description TaskConfig()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description TaskConfigPropertyaddProperty(java.lang.String propertyName)Deprecated.Adds a property to the configuration of this task.java.lang.StringgetValue(java.lang.String propertyName)Deprecated.Retrieves the value of a property.java.util.List<? extends Property>list()Deprecated.Returns copy of properties list-
Methods inherited from class com.thoughtworks.go.plugin.api.config.Configuration
add, get, size
-
-
-
-
Method Detail
-
addProperty
public TaskConfigProperty addProperty(java.lang.String propertyName)
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
public java.lang.String getValue(java.lang.String propertyName)
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
public java.util.List<? extends Property> list()
Deprecated.Description copied from class:ConfigurationReturns copy of properties list- Overrides:
listin classConfiguration- Returns:
- copy of properties list
-
-