org.eclipse.emf.emfstore.internal.client.model.controller
Class CommitController
java.lang.Object
org.eclipse.emf.emfstore.internal.client.model.connectionmanager.ServerCall<PrimaryVersionSpec>
org.eclipse.emf.emfstore.internal.client.model.controller.CommitController
- All Implemented Interfaces:
- APIDelegate<ESServerCall>
public class CommitController
- extends ServerCall<PrimaryVersionSpec>
The controller responsible for performing a commit.
- Author:
- wesendon
Methods inherited from class org.eclipse.emf.emfstore.internal.client.model.connectionmanager.ServerCall |
createAPI, execute, getProgressMonitor, getProjectSpace, getServer, getUsersession, run, setProgressMonitor, setServer, setSessionId, setUsersession, toAPI |
CommitController
public CommitController(ProjectSpaceBase projectSpace,
String logMessage,
ESCommitCallback callback,
org.eclipse.core.runtime.IProgressMonitor monitor)
- Constructor.
- Parameters:
projectSpace
- the project space whose pending changes should be commitedlogMessage
- a log message documenting the commitcallback
- an callback that will be called during and at the end of the
commit. May be null
.monitor
- an IProgressMonitor
that will be used to inform
clients about the commit progress. May be null
.
CommitController
public CommitController(ProjectSpaceBase projectSpace,
BranchVersionSpec branch,
String logMessage,
ESCommitCallback callback,
org.eclipse.core.runtime.IProgressMonitor monitor)
- Branching Constructor.
- Parameters:
projectSpace
- the project space whose pending changes should be committedbranch
- Specification of the branch to which the changes should be
committed.logMessage
- a log message documenting the commitcallback
- an callback that will be called during and at the end of the
commit. May be null
.monitor
- an IProgressMonitor
that will be used to inform
clients about the commit progress. May be null
.
Copyright © 2015. All Rights Reserved.