Annotation Type Description
-
@Target(TYPE) @Retention(RUNTIME) public @interface Description
Annotates anOperation
subclass to describe it. This annotation gets transformed into aOperationDescription
. All operation classes with this annotation will be automatically discovered and added to the palette at startup.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.String[]
aliases
All known aliases of the operation.OperationCategory
category
The category the operation belongs to.java.lang.String
iconName
The name of the icon to use to display the operation.
-
-
-
-
category
OperationCategory category
The category the operation belongs to. Defaults toMISCELLANEOUS
.- Returns:
- the category to which the operation belongs
- Default:
- edu.wpi.grip.annotation.operation.OperationCategory.MISCELLANEOUS
-
-