public final class ESServerURIUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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 |
createChangePackageURI(org.eclipse.emf.common.util.URI versionURI)
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 |
createProjectStateURI(org.eclipse.emf.common.util.URI versionURI)
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 boolean |
exists(org.eclipse.emf.common.util.URI uri)
Whether a resource for the given uri is existing.
|
static String |
getProfile()
Returns the used profile.
|
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
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 ePackageESException - if namespace Uri can't be converted to filenamepublic static org.eclipse.emf.common.util.URI createProjectHistoryURI(ProjectId projectId)
projectId - the project idpublic static org.eclipse.emf.common.util.URI createVersionURI(ProjectId projectId, PrimaryVersionSpec versionId)
projectId - the project idversionId - the version idpublic static org.eclipse.emf.common.util.URI createChangePackageURI(ProjectId projectId, PrimaryVersionSpec versionId)
projectId - the project idversionId - the version idpublic static org.eclipse.emf.common.util.URI createChangePackageURI(org.eclipse.emf.common.util.URI versionURI)
versionURI - the valid uri of a versionpublic static org.eclipse.emf.common.util.URI createProjectStateURI(ProjectId projectId, PrimaryVersionSpec versionId)
projectId - the project idversionId - the version idpublic static org.eclipse.emf.common.util.URI createProjectStateURI(org.eclipse.emf.common.util.URI versionURI)
versionURI - the valid uri of a versionpublic static String getProfile()
public static boolean exists(org.eclipse.emf.common.util.URI uri)
uri - the uri to checktrue if a resource for the given URI is existing, false otherwiseCopyright © 2017. All rights reserved.