|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.emfstore.server.ESServerURIUtil
public final class ESServerURIUtil
Helper class for creating EMFStore Server URIs and accessing segments.
Field Summary | |
---|---|
static String |
CHANGEPACKAGES_SEGMENT
The EMFStore URI segment for a changepackage. |
static String |
DYNAMIC_MODELS_SEGMENT
The EMFStore URI segment for dynamic models. |
static String |
PROJECTHISTORY_SEGMENT
The EMFStore URI segment for a project's history. |
static String |
PROJECTS_SEGMENT
The EMFStore URI segment for projects. |
static String |
PROJECTSTATES_SEGMENT
The EMFStore URI segment for a projectstate. |
static String |
SCHEME
The EMFStore URI scheme. |
static String |
SERVER_SEGMENT
The EMFStore URI segment for serverspaces. |
static String |
SERVERSPACE_SEGMENT
The EMFStore URI segment for the serverspace. |
static String |
VERSIONS_SEGMENT
The EMFStore URI segment for a version. |
Method Summary | |
---|---|
static org.eclipse.emf.common.util.URI |
createChangePackageURI(ProjectId projectId,
PrimaryVersionSpec versionId)
Creates an EMFStore URI for addressing a specific changepackage of a project. |
static org.eclipse.emf.common.util.URI |
createDynamicModelsURI(org.eclipse.emf.ecore.EPackage ePackage)
Creates an EMFStore URI for addressing a dynamic model. |
static org.eclipse.emf.common.util.URI |
createProjectHistoryURI(ProjectId projectId)
Creates an EMFStore URI for addressing the history of a project. |
static org.eclipse.emf.common.util.URI |
createProjectStateURI(ProjectId projectId,
PrimaryVersionSpec versionId)
Creates an EMFStore URI for addressing a specific state of a project. |
static org.eclipse.emf.common.util.URI |
createServerSpaceURI()
Creates an EMFStore URI for addressing the serverspace. |
static org.eclipse.emf.common.util.URI |
createVersionURI(ProjectId projectId,
PrimaryVersionSpec versionId)
Creates an EMFStore URI for addressing a specific version of a project. |
static String |
getProfile()
Returns the used profile. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String SCHEME
public static final String SERVER_SEGMENT
public static final String PROJECTS_SEGMENT
public static final String VERSIONS_SEGMENT
public static final String CHANGEPACKAGES_SEGMENT
public static final String PROJECTSTATES_SEGMENT
public static final String SERVERSPACE_SEGMENT
public static final String PROJECTHISTORY_SEGMENT
public static final String DYNAMIC_MODELS_SEGMENT
Method Detail |
---|
public static org.eclipse.emf.common.util.URI createServerSpaceURI()
public static org.eclipse.emf.common.util.URI createDynamicModelsURI(org.eclipse.emf.ecore.EPackage ePackage) throws ESException
ePackage
- the ePackage
ESException
- if namespace Uri can't be converted to filenamepublic static org.eclipse.emf.common.util.URI createProjectHistoryURI(ProjectId projectId)
projectId
- the project id
public static org.eclipse.emf.common.util.URI createVersionURI(ProjectId projectId, PrimaryVersionSpec versionId)
projectId
- the project idversionId
- the version id
public static org.eclipse.emf.common.util.URI createChangePackageURI(ProjectId projectId, PrimaryVersionSpec versionId)
projectId
- the project idversionId
- the version id
public static org.eclipse.emf.common.util.URI createProjectStateURI(ProjectId projectId, PrimaryVersionSpec versionId)
projectId
- the project idversionId
- the version id
public static String getProfile()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |