Annotation Type CometReference
-
@Documented @Retention(RUNTIME) @Target(FIELD) public @interface CometReferenceAnnotation to declare references and dependencies to other configuration items.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description PluginConfigDependencyRestrictionrestrictionRestrictions for this reference.java.lang.Class<? extends CometEntity>targetClassClass of the referenced item
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.StringidFieldNameName of the referencing field (i.e.
-
-
-
Element Detail
-
targetClass
java.lang.Class<? extends CometEntity> targetClass
Class of the referenced item
- Returns:
- class of the referenced item
-
-
-
restriction
PluginConfigDependencyRestriction restriction
Restrictions for this reference.
- Returns:
- restrictions for this reference
-
-