Package dev.getelements.elements.sdk
Interface ElementScope
- All Known Implementing Classes:
DefaultElementScope
public interface ElementScope
Associates a set of
Attributes with a transient state for the Element. The Element
retains this scope for the current thread until the scope is closed. Opening new scopes will inherit and
override the variables set in the associated MutableAttributes.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceBuilds the specific instances to go into the scope.static interfaceRepresents an open handle for an openElementScopeon the current thread. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGets the Attributes associated with this scope.getName()Gets the name of the scope.
-
Field Details
-
ANONYMOUS
The default name of anElementScope- See Also:
-
-
Method Details
-
getName
String getName()Gets the name of the scope.- Returns:
- the name
-
getMutableAttributes
MutableAttributes getMutableAttributes()Gets the Attributes associated with this scope.- Returns:
- the
Attributesassociated with the scope
-