Package org.forgerock.api.models
Class Services
- java.lang.Object
-
- org.forgerock.api.models.Services
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Services.Builder
Builder to help construct the Services.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Resource
get(String name)
Gets theResource
for a given service-name.Set<String>
getNames()
Returns allServices
names.protected Map<String,Resource>
getServices()
Gets aMap
of service-names toResource
s.int
hashCode()
static Services.Builder
services()
Create a new Builder for Services.
-
-
-
Method Detail
-
getServices
protected Map<String,Resource> getServices()
Gets aMap
of service-names toResource
s. This method is currently only used for JSON serialization.- Returns:
Map
of service-names toResource
s.
-
get
public Resource get(String name)
Gets theResource
for a given service-name.- Parameters:
name
- Service name- Returns:
Schema
ornull
if does-not-exist.
-
services
public static Services.Builder services()
Create a new Builder for Services.- Returns:
- Builder
-
-