Class ElementScopes
java.lang.Object
dev.getelements.elements.sdk.util.ElementScopes
This class is used to manage the scopes of elements in the registry.
It allows for the creation of a new scope with a specific selector.
The selector is a predicate that determines which elements are included in the scope.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Builder class for ElementScopes. -
Method Summary
Modifier and TypeMethodDescriptionstatic ElementScopes.Builder
builder()
Creates a new builder for ElementScopes.enter()
Enters the aggregate ofElementScope
s which match the selector.
-
Method Details
-
enter
Enters the aggregate ofElementScope
s which match the selector.- Returns:
- the handle to the scope
-
builder
Creates a new builder for ElementScopes.- Returns:
- the builder
-