Class Paths.Builder

java.lang.Object
org.forgerock.api.models.Paths.Builder
Enclosing class:
Paths

public static final class Paths.Builder extends Object
Builder to help construct the Paths.
  • Method Details

    • put

      public Paths.Builder put(String path, VersionedPath versionedPath)
      Adds a Path.
      Parameters:
      path - Path string
      versionedPath - Versioned path
      Returns:
      Builder
    • merge

      public Paths.Builder merge(String path, VersionedPath versionedPath)
      Merge the path definition into the existing path definitions. If there is already a VersionedPath at this path, then the versions will be added together.
      Parameters:
      path - Path string
      versionedPath - Versioned path
      Returns:
      Builder.
    • build

      public Paths build()
      Builds the Paths instance.
      Returns:
      Paths instance