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 Details

    • TaskConfig

      public TaskConfig()
      Deprecated.
  • Method Details

    • addProperty

      public TaskConfigProperty addProperty(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 String getValue(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 List<? extends Property> list()
      Deprecated.
      Description copied from class: Configuration
      Returns copy of properties list
      Overrides:
      list in class Configuration
      Returns:
      copy of properties list