public class OslcConfig extends Object
See the OSLC Configuration Management specification for details:
https://tools.oasis-open.org/version-control/browse/wsvn/oslc-core/trunk/specs/config/oslc-config-mgt.html
Modifier and Type | Class and Description |
---|---|
static class |
OslcConfig.EntityTypes
Entity types of Configuration Management resources.
|
Modifier and Type | Field and Description |
---|---|
static String |
CONFIG_CONTEXT_PARAMETER |
static String |
DOMAIN |
static String |
NAMESPACE_PREFIX |
static String |
NAMESPACE_URI |
static String |
TYPE_BASELINE |
static String |
TYPE_CHANGE_SET |
static String |
TYPE_CHANGE_SET_SELECTIONS |
static String |
TYPE_COMPONENT |
static String |
TYPE_CONFIGURATION |
static String |
TYPE_CONTRIBUTION |
static String |
TYPE_REMOVALS |
static String |
TYPE_SELECTIONS |
static String |
TYPE_STREAM |
static String |
TYPE_VERSION_RESOURCE |
Modifier and Type | Method and Description |
---|---|
static URI |
addContext(URI resourceUri,
URI configurationContext)
Combine the resource URI and the configuration URI to obtain a versioned resource URI.
|
static URI |
getContext(URI versionedResourceUri)
Extract the configuration URI specified as
oslc_config.context query parameter, if any, from the versioned resource URI. |
static QName |
qname(String localPart) |
static URI |
removeContext(URI versionedResourceUri)
Removes the configuration URI from the specified versioned resource URI.
|
public static final String DOMAIN
public static final String NAMESPACE_URI
public static final String NAMESPACE_PREFIX
public static final String CONFIG_CONTEXT_PARAMETER
public static final String TYPE_CONFIGURATION
public static final String TYPE_STREAM
public static final String TYPE_BASELINE
public static final String TYPE_CHANGE_SET
public static final String TYPE_CHANGE_SET_SELECTIONS
public static final String TYPE_REMOVALS
public static final String TYPE_COMPONENT
public static final String TYPE_CONTRIBUTION
public static final String TYPE_SELECTIONS
public static final String TYPE_VERSION_RESOURCE
public static URI getContext(URI versionedResourceUri)
oslc_config.context
query parameter, if any, from the versioned resource URI.versionedResourceUri
- the resource URI with versioning information.null
if none.public static URI addContext(URI resourceUri, URI configurationContext)
oslc_config.context
query parameter in the returned URI.resourceUri
- the resource URI, which shall not yet have a specified configuration URI.configurationContext
- the applicable configuration URI.oslc_config.context
query parameter.public static URI removeContext(URI versionedResourceUri)
oslc_config.context
query
parameter, if any.versionedResourceUri
- the URI of the versioned resource, which includes a configuration URI using a oslc_config.context
query parameter.