Package dev.getelements.elements.sdk
Interface ElementScope.Builder
- All Known Implementing Classes:
DefaultElementScopeBuilder
- Enclosing interface:
ElementScope
public static interface ElementScope.Builder
Builds the specific instances to go into the scope.
-
Method Summary
Modifier and TypeMethodDescriptionenter()
Builds theElementScope
.The name of the scope.with
(Attributes attributes) Sets theAttributes
to the scope.
-
Method Details
-
named
The name of the scope. The name is meant to assist in debugging and other tasks- Parameters:
name
- the name of the scope- Returns:
- this instance
-
with
Sets theAttributes
to the scope.- Parameters:
attributes
- the attributes to set- Returns:
- this instance
-
enter
ElementScope.Handle enter()Builds theElementScope
.- Returns:
- the
ElementScope
-