Package org.forgerock.api.models
Class Paths.Builder
- java.lang.Object
-
- org.forgerock.api.models.Paths.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Paths
build()
Builds the Paths instance.Paths.Builder
merge(String path, VersionedPath versionedPath)
Merge the path definition into the existing path definitions.Paths.Builder
put(String path, VersionedPath versionedPath)
Adds a Path.
-
-
-
Method Detail
-
put
public Paths.Builder put(String path, VersionedPath versionedPath)
Adds a Path.- Parameters:
path
- Path stringversionedPath
- 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 aVersionedPath
at this path, then the versions will be added together.- Parameters:
path
- Path stringversionedPath
- Versioned path- Returns:
- Builder.
-
build
public Paths build()
Builds the Paths instance.- Returns:
- Paths instance
-
-