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
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilder to help construct the Paths. -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the Path for a given Path-name.getNames()Returns all Path names.protected Map<String,VersionedPath> getPaths()Gets aMapof path-names to Paths.inthashCode()static Paths.Builderpaths()Create a new Builder for Paths.
-
Method Details
-
getPaths
Gets aMapof path-names to Paths. This method is currently only used for JSON serialization.- Returns:
Mapof path-names to Paths.
-
get
Gets the Path for a given Path-name.- Parameters:
name- Path name- Returns:
- Path or
nullif 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()
-