Class Services

java.lang.Object
org.forgerock.api.models.Services

public final class Services extends Object
Class that represents API descriptor's Service Resource definitions.
  • Method Details

    • getServices

      protected Map<String,Resource> getServices()
      Gets a Map of service-names to Resources. This method is currently only used for JSON serialization.
      Returns:
      Map of service-names to Resources.
    • get

      public Resource get(String name)
      Gets the Resource for a given service-name.
      Parameters:
      name - Service name
      Returns:
      Schema or null if does-not-exist.
    • getNames

      public Set<String> getNames()
      Returns all Services names.
      Returns:
      All Services names.
    • services

      public static Services.Builder services()
      Create a new Builder for Services.
      Returns:
      Builder
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object