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
public static class InsertRequirement.InsertLocation.InsertLocationBuilder extends Object
Builds an instance of InsertLocation.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InsertRequirement.InsertLocation.InsertLocationBuilderafter(URI sibling)Indicates the requirement is to insert at the location just after the specified sibling requirement.InsertRequirement.InsertLocation.InsertLocationBuilderbefore(URI sibling)Indicates the requirement is to insert at the location just before the specified sibling requirement.InsertRequirement.InsertLocationbuild()Creates an instance of InsertLocation with information configured in this builder instance.
-
-
-
Method Detail
-
before
public InsertRequirement.InsertLocation.InsertLocationBuilder before(URI sibling)
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
public InsertRequirement.InsertLocation.InsertLocationBuilder after(URI sibling)
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
public InsertRequirement.InsertLocation build()
Creates an instance of InsertLocation with information configured in this builder instance.- Returns:
- the created InsertLocation instance.
-
-