|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ESProject
Common interface for a project in EMFStore. There are two different types of projects, ESLocalProject and
ESRemoteProject, representing a locally checked out and a project on the server. This interface groups all
attributes and calls which are available on both.
| Method Summary | |
|---|---|
void |
addTag(ESPrimaryVersionSpec versionSpec,
ESTagVersionSpec tag,
org.eclipse.core.runtime.IProgressMonitor monitor)
Adds a tag to the specified version of this project on the server. |
void |
delete(org.eclipse.core.runtime.IProgressMonitor monitor)
Deletes the project. |
List<ESBranchInfo> |
getBranches(org.eclipse.core.runtime.IProgressMonitor monitor)
Returns a list of branches for the current project. |
ESGlobalProjectId |
getGlobalProjectId()
Returns the global ID of the project. |
List<ESHistoryInfo> |
getHistoryInfos(ESHistoryQuery<? extends ESHistoryQuery<?>> query,
org.eclipse.core.runtime.IProgressMonitor monitor)
Retrieves a part of the project's version history from the server based on the given query. |
String |
getProjectName()
Returns the project's name. |
void |
removeTag(ESPrimaryVersionSpec versionSpec,
ESTagVersionSpec tag,
org.eclipse.core.runtime.IProgressMonitor monitor)
Removes a tag from the specified version of this project on the server. |
ESPrimaryVersionSpec |
resolveVersionSpec(ESVersionSpec versionSpec,
org.eclipse.core.runtime.IProgressMonitor monitor)
Resolves a ESVersionSpec to a ESPrimaryVersionSpec by querying the server. |
| Method Detail |
|---|
ESGlobalProjectId getGlobalProjectId()
String getProjectName()
void delete(org.eclipse.core.runtime.IProgressMonitor monitor)
throws IOException,
ESException
Deletes the project.
When calling this method on a remote project it is recommended to use the overloaded method which allows to
specify an ESUsersession.
monitor - an IProgressMonitor instance that is used to indicate progress while deleting the project
IOException - in case an I/O related error occurred while deleting the project
ESException - in case any other error occurred while deleting the project
ESPrimaryVersionSpec resolveVersionSpec(ESVersionSpec versionSpec,
org.eclipse.core.runtime.IProgressMonitor monitor)
throws ESException
ESVersionSpec to a ESPrimaryVersionSpec by querying the server.
When calling this method on a remote project it is recommended to use the overloaded method which allows to
specify an ESUsersession.
versionSpec - the ESVersionSpec to resolvemonitor - an IProgressMonitor instance that is used to indicate progress while resolving the version
ESPrimaryVersionSpec
ESException - in case an error occurs while resolving the given ESVersionSpec
List<ESBranchInfo> getBranches(org.eclipse.core.runtime.IProgressMonitor monitor)
throws ESException
Returns a list of branches for the current project.
When calling this method on a remote project it is recommended to use the overloaded method which allows to
specify an ESUsersession.
monitor - an IProgressMonitor instance that is used to indicate progress while fetching the branch
information
ESException - in case an error occurs while retrieving the branch information for the project
List<ESHistoryInfo> getHistoryInfos(ESHistoryQuery<? extends ESHistoryQuery<?>> query,
org.eclipse.core.runtime.IProgressMonitor monitor)
throws ESException
Retrieves a part of the project's version history from the server based on the given query. Use
ESHistoryQueryFactory to generate query objects.
query - the ESHistoryQuery to be performed in order to fetch the history informationmonitor - an IProgressMonitor instance that is used to indicate progress while fetching the history
information
ESException - in case an error occurs while retrieving the history information
void addTag(ESPrimaryVersionSpec versionSpec,
ESTagVersionSpec tag,
org.eclipse.core.runtime.IProgressMonitor monitor)
throws ESException
Adds a tag to the specified version of this project on the server.
When calling this method on a remote project it is recommended to use the overloaded method which allows to
specify an ESUsersession.
versionSpec - the ESPrimaryVersionSpec that should be taggedtag - the tag being createdmonitor - an IProgressMonitor instance that is used to indicate progress while adding the tag
ESException - in case the given tag could not be removed
void removeTag(ESPrimaryVersionSpec versionSpec,
ESTagVersionSpec tag,
org.eclipse.core.runtime.IProgressMonitor monitor)
throws ESException
Removes a tag from the specified version of this project on the server.
When calling this method on a remote project it is recommended to use the overloaded method which allows to
specify an ESUsersession.
versionSpec - the ESPrimaryVersionSpec identifying the version from which the tag should be removedtag - the ESTagVersionSpec to be removedmonitor - an IProgressMonitor instance that is used to indicate progress while removing the tag
ESException - in case the given tag could not be removed
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||