Annotation Type Role


@Target({METHOD,ANNOTATION_TYPE})
@Retention(RUNTIME)
@Documented
public @interface Role
Annotate endpoints to assign them to a role. Such endpoints can be started/stopped as a group. See SmartLifecycleRoleController.
Since:
4.2
Author:
Gary Russell
  • Optional Element Summary

    Optional Elements 
    Modifier and Type Optional Element Description
    String value  
  • Element Details

    • value

      String value
      Returns:
      the role for this endpoint. See SmartLifecycleRoleController.
      Default:
      ""