Annotation Interface ElementDependency
@Target(PACKAGE)
@Retention(RUNTIME)
@Repeatable(ElementDependencies.class)
public @interface ElementDependency
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classSelects the defaultElementbased on the value ofElementDefinitionRecord.name(). -
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionClass<? extends BiPredicate<ElementDependency, Element>>
-
Element Details
-
value
String valueThe query string used to select theElement. By default, this is the name of theElementas defined in itsElementDefinitionRecord.name(). A custom selector can be specified using theselector()and providing custom selection criteria.- Returns:
- the name of the
Element
-
selector
Class<? extends BiPredicate<ElementDependency,Element>> selector- Default:
dev.getelements.elements.sdk.annotation.ElementDependency.Named.class
-