Class MavenElementsLocalBuilder
java.lang.Object
dev.getelements.elements.sdk.local.maven.MavenElementsLocalBuilder
- All Implemented Interfaces:
ElementsLocalBuilder
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds theElementsLocal
instancewithAttributes
(Attributes attributes) Specifies the system properties as anAttributes
instance.withElementNamed
(String applicationNameOrId, String elementName, Attributes attributes) Specifies anElement
to load associated with the supplied package.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface dev.getelements.elements.sdk.local.ElementsLocalBuilder
withElementNamed, withProperties
-
Field Details
-
MAVEN_PHASE
-
ELEMENT_CLASSPATH
-
MAVEN_PHASE_ENV
- See Also:
-
ELEMENT_CLASSPATH_ENV
- See Also:
-
MAVEN_PHASE_PROPERTY
- See Also:
-
ELEMENT_CLASSPATH_PROPERTY
- See Also:
-
-
Constructor Details
-
MavenElementsLocalBuilder
public MavenElementsLocalBuilder()
-
-
Method Details
-
withAttributes
Description copied from interface:ElementsLocalBuilder
Specifies the system properties as anAttributes
instance.- Specified by:
withAttributes
in interfaceElementsLocalBuilder
- Parameters:
attributes
- the attributes- Returns:
- this instance
-
withElementNamed
public ElementsLocalBuilder withElementNamed(String applicationNameOrId, String elementName, Attributes attributes) Description copied from interface:ElementsLocalBuilder
Specifies anElement
to load associated with the supplied package.- Specified by:
withElementNamed
in interfaceElementsLocalBuilder
- Parameters:
applicationNameOrId
- the name or id of theApplication
elementName
- the name of the Elementattributes
- theAttributes
to use when loading the package- Returns:
- this instance
-
build
Description copied from interface:ElementsLocalBuilder
Builds theElementsLocal
instance- Specified by:
build
in interfaceElementsLocalBuilder
- Returns:
- the
ElementsLocal
instance
-