Modifier and Type | Class and Description |
---|---|
static class |
VersionedPath.Builder
Builder to help construct the VersionedPath.
|
Modifier and Type | Field and Description |
---|---|
static Version |
UNVERSIONED
Version
0.0 represents null/empty, for when resource versions are not required by an API (e.g., OpenIDM). |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Resource |
get(Version version)
Gets the
Resource for a given version. |
protected Map<Version,Resource> |
getPaths()
Gets a
Map of versions to Resource s. |
Set<Version> |
getVersions()
Returns all resource-versions on this path.
|
int |
hashCode() |
static VersionedPath.Builder |
versionedPath()
Create a new Builder for VersionedPath.
|
public static final Version UNVERSIONED
0.0
represents null/empty, for when resource versions are not required by an API (e.g., OpenIDM).protected Map<Version,Resource> getPaths()
Map
of versions to Resource
s. This method is currently only used for JSON serialization.Map
of versions to Resource
s.public Resource get(Version version)
Resource
for a given version.version
- Resource versionResource
or null
if does-not-exist.public Set<Version> getVersions()
public static VersionedPath.Builder versionedPath()
Copyright © 2010-2018, ForgeRock All Rights Reserved.