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
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.Stringvalue
-
Element Details
-
value
java.lang.String value- Returns:
- the role for this endpoint. See
SmartLifecycleRoleController.
- Default:
- ""
-