Annotation Interface Stateful


@Documented @Target(TYPE) @Retention(RUNTIME) @Inherited public @interface Stateful

Annotation that a Processor, ReportingTask, FlowAnalysisRule, ParameterProvider, or Controller Service can use to indicate that the component makes use of the StateManager. This annotation provides the user with a description of what information is being stored so that the user is able to understand what is shown to them and know what they are clearing should they choose to clear the state. Additionally, the UI will not show any state information to users if this annotation is not present.

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Provides a description of what information is being stored in the StateManager
    Indicates the Scope(s) associated with the State that is stored and retrieved.
  • Element Details

    • description

      String description
      Provides a description of what information is being stored in the StateManager
    • scopes

      Scope[] scopes
      Indicates the Scope(s) associated with the State that is stored and retrieved.