Package org.forgerock.api.models
Class Paths
- java.lang.Object
-
- org.forgerock.api.models.Paths
-
public final class Paths extends Object
Class that represents the Paths type in API descriptor.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPaths.BuilderBuilder to help construct the Paths.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)VersionedPathget(String name)Gets the Path for a given Path-name.Set<String>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 Detail
-
getPaths
protected Map<String,VersionedPath> getPaths()
Gets aMapof path-names to Paths. This method is currently only used for JSON serialization.- Returns:
Mapof path-names to Paths.
-
get
public VersionedPath get(String name)
Gets the Path for a given Path-name.- Parameters:
name- Path name- Returns:
- Path or
nullif does-not-exist.
-
paths
public static Paths.Builder paths()
Create a new Builder for Paths.- Returns:
- Builder
-
-