Annotation Type CommandContainer
Indicates that the class contains
command metods.
If using cloud-annotations as an annotation processor, then the class will
be listed in a special file under META-INF. These containers can be collectively
parsed using AnnotationParser.parseContainers(), which will create instances
of the containers and then call AnnotationParser.parse(Object) with the created instance.
Every class annotated with CommandContainer needs to be public, and it
also needs to have one of the following:
- A
publicno-arg constructor - A
publicconstructor withAnnotationParseras the sole parameter
NOTE: For container parsing to work, you need to make sure that cloud-annotations is added as an annotation processor.
-
Field Summary
Fields
-
Field Details
-
ANNOTATION_PATH
- See Also:
-