Package com.xebialabs.deployit.plugin.api.udm

# Annotation Interface ControlTask

@Documented @Retention(RUNTIME) @Target(METHOD) @Inherited public @interface ControlTask
A control task is a method that can be invoked on a ConfigurationItem, to perform some action. For instance, that starting or stopping of a Container.

A @ControlTask method should adhere to the following rules:

- take either no parameters or a ``Map<String, String>``.
- return a ``List<Step>``

- ## Optional Element Summary

  Optional Elements
  Modifier and Type
  Optional Element
  Description
  `String`
  `delegate`
  `String`
  `description`
  `String`
  `label`
  `String`
  `parameterType`

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final String`
  `DEFAULT_DELEGATE`

- ## Field Details

  - ### DEFAULT_DELEGATE

    static final String DEFAULT_DELEGATE
    See Also:
      - Constant Field Values

- ## Element Details

  - ### label

    String label
    Default:
      `""`

  - ### description

    String description
    Default:
      `"no description"`

  - ### parameterType

    String parameterType
    Default:
      `""`

  - ### delegate

    String delegate
    Default:
      `"methodInvoker"`