Package org.forgerock.api.models
Class Paths
java.lang.Object
org.forgerock.api.models.Paths
Class that represents the Paths type in API descriptor.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Builder to help construct the Paths. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets the Path for a given Path-name.getNames()
Returns all Path names.protected Map<String,
VersionedPath> getPaths()
Gets aMap
of path-names to Paths.int
hashCode()
static Paths.Builder
paths()
Create a new Builder for Paths.
-
Method Details
-
getPaths
Gets aMap
of path-names to Paths. This method is currently only used for JSON serialization.- Returns:
Map
of path-names to Paths.
-
get
Gets the Path for a given Path-name.- Parameters:
name
- Path name- Returns:
- Path or
null
if does-not-exist.
-
getNames
Returns all Path names.- Returns:
- All Path names.
-
paths
Create a new Builder for Paths.- Returns:
- Builder
-
equals
-
hashCode
public int hashCode()
-