Package com.sodius.oslc.app.dng.requests
Class InsertRequirement.InsertLocation.InsertLocationBuilder
java.lang.Object
com.sodius.oslc.app.dng.requests.InsertRequirement.InsertLocation.InsertLocationBuilder
- Enclosing class:
InsertRequirement.InsertLocation
Builds an instance of InsertLocation.
-
Method Summary
Modifier and TypeMethodDescriptionIndicates the requirement is to insert at the location just after the specified sibling requirement.Indicates the requirement is to insert at the location just before the specified sibling requirement.build()Creates an instance of InsertLocation with information configured in this builder instance.
-
Method Details
-
before
Indicates the requirement is to insert at the location just before the specified sibling requirement. The sibling requirement must already be part of the module.- Parameters:
sibling- the URI of the sibling requirement, as returned by module.getUses().- Returns:
- the builder instance.
-
after
Indicates the requirement is to insert at the location just after the specified sibling requirement. The sibling requirement must already be part of the module.- Parameters:
sibling- the URI of the sibling requirement, as returned by module.getUses().- Returns:
- the builder instance.
-
build
Creates an instance of InsertLocation with information configured in this builder instance.- Returns:
- the created InsertLocation instance.
-