Package org.forgerock.api.models
Class Paths.Builder
java.lang.Object
org.forgerock.api.models.Paths.Builder
- Enclosing class:
- Paths
Builder to help construct the Paths.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the Paths instance.merge
(String path, VersionedPath versionedPath) Merge the path definition into the existing path definitions.put
(String path, VersionedPath versionedPath) Adds a Path.
-
Method Details
-
put
Adds a Path.- Parameters:
path
- Path stringversionedPath
- Versioned path- Returns:
- Builder
-
merge
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
Builds the Paths instance.- Returns:
- Paths instance
-