Package dev.getelements.elements.sdk.annotation
package dev.getelements.elements.sdk.annotation
The SDK Annotations in this package govern the visibility and services defined within an
Element. Where an annotation specifies the Target
as ElementType.PACKAGE, it must appear on the "package-info" class, or else the loader
will ignore the pacakge-level annotations. This is mostly motivated by performance and convenience of the loader
code.-
ClassDescriptionAnnotates a static final non-null field.Defines a
Element.Repeatableannotation forElementDependency.Selects the defaultElementbased on the value ofElementDefinitionRecord.name().Annotates a method capable of receiving an instance ofEvent.Repeatabletype forElementEventConsumer.Used for documentation and reporting.Repeatabletype forElementEventProducer.Instructs the ElementClassLoaderto copy the annotated from its parentClassLoaderand load into theClassLoaderfor theElementrunning within it.Specifies a java package to include in the element scanning process.Indicates a type or all types within a package are to be considered public and exposed to all other elements.Indicates a type or all types within a package are to be considered public and exposed to all other elements.Defines a service provided by the element.Exports the target type making it available in theServiceLocatormethods.Repeatabletype forElementServiceExport.Specifies an implementation of a service.A marker class used as a placeholder to indicate that there is no specified implementation.Repeatabletype forElementService.