public class UpdateController extends ServerCall<PrimaryVersionSpec>
| Constructor and Description |
|---|
UpdateController(ProjectSpaceBase projectSpace,
VersionSpec version,
ESUpdateCallback callback,
org.eclipse.core.runtime.IProgressMonitor progress)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
removeDuplicateOperations(AbstractChangePackage incomingChanges,
AbstractChangePackage localChanges)
Remove duplicate operations.
|
int |
removeFromChangePackages(List<AbstractChangePackage> incomingChanges)
Remove duplicate change packages from the change package.
|
createAPI, execute, getProgressMonitor, getProjectSpace, getServer, getUsersession, run, setProgressMonitor, setServer, setSessionId, setUsersession, toAPIpublic UpdateController(ProjectSpaceBase projectSpace, VersionSpec version, ESUpdateCallback callback, org.eclipse.core.runtime.IProgressMonitor progress)
projectSpace - the project space to be updatedversion - the target versioncallback - an optional update callback instanceprogress - a progress monitor that is used to indicate the progress of the updatepublic int removeFromChangePackages(List<AbstractChangePackage> incomingChanges)
incomingChanges - incoming change packagespublic boolean removeDuplicateOperations(AbstractChangePackage incomingChanges, AbstractChangePackage localChanges)
incomingChanges - incoming change packagelocalChanges - local change packagetrue when all change packages have been consumedCopyright © 2017. All rights reserved.