public interface ESRemoteProject extends ESProject
| Modifier and Type | Method and Description |
|---|---|
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. |
addTag, getBranches, getGlobalProjectId, getHistoryInfos, getProjectName, removeTag, resolveVersionSpecESServer 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 progressESException - in case an error occurs during fetchESLocalProject 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 progressESException - in case an error occurs during checkoutESLocalProject 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 progressESException - 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 progressESException - 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
specifierESException - in case an error occurs while resolving the versionList<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
informationESException - in case an error occurs while retrieving the branch information for the projectList<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
informationESException - in case an error occurs while retrieving the history informationvoid delete(org.eclipse.core.runtime.IProgressMonitor monitor)
throws ESException
delete in interface ESProjectmonitor - an IProgressMonitor used to indicate progressESException - in case an error occurs during the deletion of the projectvoid 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 progressESException - in case an error occurs during the deletion of the projectESPrimaryVersionSpec getHeadVersion(org.eclipse.core.runtime.IProgressMonitor monitor) throws ESException
monitor - an IProgressMonitor used to indicate progressESException - in case an error occurs while fetching the HEAD version of the projectCopyright © 2017. All rights reserved.