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 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.