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

    Modifier and Type Method Description
    TaskConfigProperty addProperty​(java.lang.String propertyName)
    Deprecated.
    Adds a property to the configuration of this task.
    java.lang.String getValue​(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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TaskConfig

      public TaskConfig()
      Deprecated.
  • Method Details

    • 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: Configuration
      Returns copy of properties list
      Overrides:
      list in class Configuration
      Returns:
      copy of properties list