|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ESRemoteProject
Represents a remote project on the server.
| Method Summary | |
|---|---|
ESLocalProject |
checkout(String name,
ESUsersession usersession,
ESPrimaryVersionSpec versionSpec,
org.eclipse.core.runtime.IProgressMonitor monitor)
Checkouts the project in the given version into the local workspace. |
ESLocalProject |
checkout(String name,
ESUsersession usersession,
org.eclipse.core.runtime.IProgressMonitor monitor)
Checkouts the project in the HEAD version into the local workspace. |
ESLocalProject |
checkout(String name,
org.eclipse.core.runtime.IProgressMonitor monitor)
Checkouts the project in its HEAD version into the local workspace. |
void |
delete(ESUsersession usersession,
org.eclipse.core.runtime.IProgressMonitor monitor)
Deletes the remote project on the server. |
void |
delete(org.eclipse.core.runtime.IProgressMonitor monitor)
Deletes the remote project on the server. |
ESLocalProject |
fetch(String name,
ESUsersession session,
ESPrimaryVersionSpec versionSpec,
org.eclipse.core.runtime.IProgressMonitor monitor)
|
List<ESBranchInfo> |
getBranches(ESUsersession usersession,
org.eclipse.core.runtime.IProgressMonitor monitor)
Returns all branches for the current project. |
ESPrimaryVersionSpec |
getHeadVersion(org.eclipse.core.runtime.IProgressMonitor monitor)
Returns the HEAD version of the project. |
List<ESHistoryInfo> |
getHistoryInfos(ESUsersession usersession,
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. |
ESServer |
getServer()
Returns the project's server. |
ESPrimaryVersionSpec |
resolveVersionSpec(ESUsersession usersession,
ESVersionSpec versionSpec,
org.eclipse.core.runtime.IProgressMonitor monitor)
Resolves a ESVersionSpec to a ESPrimaryVersionSpec by querying the server. |
| Methods inherited from interface org.eclipse.emf.emfstore.client.ESProject |
|---|
addTag, getBranches, getGlobalProjectId, getHistoryInfos, getProjectName, removeTag, resolveVersionSpec |
| Method Detail |
|---|
ESServer getServer()
ESLocalProject fetch(String name,
ESUsersession session,
ESPrimaryVersionSpec versionSpec,
org.eclipse.core.runtime.IProgressMonitor monitor)
throws ESException
name - the name of the copy being created during the fetchsession - the user session that will be used by the
ESServerCall to fetch the projectversionSpec - the version that should be fetched.monitor - the IProgressMonitor that is used during checkout in order to indicate progress
ESException - in case an error occurs during fetch
ESLocalProject checkout(String name,
org.eclipse.core.runtime.IProgressMonitor monitor)
throws ESException
Checkouts the project in its HEAD version into the local workspace.
The ESUsersession used for checking out the project will be injected.
name - the name of the copy being created during the checkoutmonitor - the progress monitor that is used during checkout in order to indicate progress
ESException - in case an error occurs during checkout
ESLocalProject checkout(String name,
ESUsersession usersession,
org.eclipse.core.runtime.IProgressMonitor monitor)
throws ESException
Checkouts the project in the HEAD version into the local workspace.
The caller must provide the ESUsersession used for checking out the project, e.g. by specifying the
session that was lastly used in an ESServer.
The caller also must specify which specific ESVersionSpec to checkout. If the HEAD version should get
checked out, the ESVersionFactory must be used, which
can be fetched via ESVersionSpec.FACTORY.
name - the name of the copy being created during the checkoutusersession - the user session that will be used by the
ESServerCall to checkout the projectmonitor - the IProgressMonitor that is used during checkout in order to indicate progress
ESException - in case an error occurs during checkoutESVersionFactory,
ESServer.getLastUsersession()
ESLocalProject checkout(String name,
ESUsersession usersession,
ESPrimaryVersionSpec versionSpec,
org.eclipse.core.runtime.IProgressMonitor monitor)
throws ESException
Checkouts the project in the given version into the local workspace.
The caller must provide the ESUsersession used for checking out the project, e.g. by specifying the
session that was lastly used in an ESServer.
The caller also must specify which specific ESVersionSpec to checkout. If the HEAD version should get
checked out, the ESVersionFactory must be used, which
can be fetched via ESVersionSpec.FACTORY.
name - the name of the copy being created during the checkoutusersession - the user session that will be used by the
ESServerCall to checkout the projectversionSpec - the version that should be checked out.monitor - the IProgressMonitor that is used during checkout in order to indicate progress
ESException - in case an error occurs during checkoutESVersionFactory,
ESServer.getLastUsersession()
ESPrimaryVersionSpec resolveVersionSpec(ESUsersession usersession,
ESVersionSpec versionSpec,
org.eclipse.core.runtime.IProgressMonitor monitor)
throws ESException
ESVersionSpec to a ESPrimaryVersionSpec by querying the server.
usersession - the user session that will be used by the
ESServerCall to resolve the given
ESVersionSpecversionSpec - the version specifier to resolvemonitor - an IProgressMonitor instance that is used to indicate progress while resolving the version
specifier
ESException - in case an error occurs while resolving the version
List<ESBranchInfo> getBranches(ESUsersession usersession,
org.eclipse.core.runtime.IProgressMonitor monitor)
throws ESException
usersession - the user session used to fetch the branch informationmonitor - 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(ESUsersession usersession,
ESHistoryQuery<? extends ESHistoryQuery<?>> query,
org.eclipse.core.runtime.IProgressMonitor monitor)
throws ESException
ESHistoryQueryFactory to generate query objects.
usersession - the user session that will be used by the
ESServerCall to fetch the history
informationquery - the query 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 delete(org.eclipse.core.runtime.IProgressMonitor monitor)
throws ESException
delete in interface ESProjectmonitor - an IProgressMonitor used to indicate progress
ESException - in case an error occurs during the deletion of the project
void delete(ESUsersession usersession,
org.eclipse.core.runtime.IProgressMonitor monitor)
throws ESException
usersession - the user session that will be used by the
ESServerCall to delete the remote
projectmonitor - an IProgressMonitor used to indicate progress
ESException - in case an error occurs during the deletion of the project
ESPrimaryVersionSpec getHeadVersion(org.eclipse.core.runtime.IProgressMonitor monitor)
throws ESException
monitor - an IProgressMonitor used to indicate progress
ESException - in case an error occurs while fetching the HEAD version of the project
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||