Annotation Type 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>
    • Field Summary

      Fields 
      Modifier and Type Fields Description
      static java.lang.String DEFAULT_DELEGATE  
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String delegate  
      java.lang.String description  
      java.lang.String label  
      java.lang.String parameterType  
    • Field Detail

      • DEFAULT_DELEGATE

        static final java.lang.String DEFAULT_DELEGATE
    • Element Detail

      • label

        java.lang.String label
        Default:
        ""
      • description

        java.lang.String description
        Default:
        "no description"
      • parameterType

        java.lang.String parameterType
        Default:
        ""
      • delegate

        java.lang.String delegate
        Default:
        "methodInvoker"