Package de.mhus.lib.annotations.strategy
Annotation Type OperationDescription
-
@Retention(RUNTIME) public @interface OperationDescription
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description Class<?>clazzIf you need to set the path by a class reference.String[]labelsDefine default labels in format key=valueStringpathSet full path with group.id and overwrite clazz() setting.booleanstrictParameterCheckSet to true if you wan't a strict parameter check.StringtitleDisplay title of the operation.StringversionDefine the version of the operation.
-
-
-
Element Detail
-
title
String title
Display title of the operation. Default is the simple name of the current class.- Returns:
- display name
- Default:
- ""
-
-
-
clazz
Class<?> clazz
If you need to set the path by a class reference. Default path is the name of the current class.- Returns:
- path
- Default:
- java.lang.Object.class
-
-
-
path
String path
Set full path with group.id and overwrite clazz() setting. If you set this option setting clazz() makes no sense. Default path is the name of the current class.- Returns:
- path
- Default:
- ""
-
-
-
version
String version
Define the version of the operation. Default is 0.0.0- Returns:
- The version
- Default:
- ""
-
-
-
labels
String[] labels
Define default labels in format key=value- Returns:
- array of labels
- Default:
- {}
-
-