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.
  • Method Details

    • getPaths

      protected Map<String,VersionedPath> getPaths()
      Gets a Map of path-names to Paths. This method is currently only used for JSON serialization.
      Returns:
      Map of 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 null if does-not-exist.
    • getNames

      public Set<String> getNames()
      Returns all Path names.
      Returns:
      All Path names.
    • paths

      public static Paths.Builder paths()
      Create a new Builder for Paths.
      Returns:
      Builder
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object