Class ReviewStatemachine.Server<REVIEW extends Review>
java.lang.Object
org.eclipse.net4j.util.event.Notifier
org.eclipse.net4j.util.lifecycle.Lifecycle
org.eclipse.net4j.util.fsm.FiniteStateMachine<ReviewStatus,ReviewStatemachine.ReviewEvent,REVIEW>
org.eclipse.emf.cdo.lm.reviews.impl.ReviewStatemachine<REVIEW>
org.eclipse.emf.cdo.lm.reviews.impl.ReviewStatemachine.Server<REVIEW>
- All Implemented Interfaces:
org.eclipse.net4j.util.event.INotifier
,org.eclipse.net4j.util.event.INotifier.INotifier2
,org.eclipse.net4j.util.lifecycle.IDeactivateable
,org.eclipse.net4j.util.lifecycle.ILifecycle
,org.eclipse.net4j.util.lifecycle.ILifecycle.DeferrableActivation
- Enclosing class:
- ReviewStatemachine<REVIEW extends Review>
public abstract static class ReviewStatemachine.Server<REVIEW extends Review>
extends ReviewStatemachine<REVIEW>
- Author:
- Eike Stepper
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.emf.cdo.lm.reviews.impl.ReviewStatemachine
ReviewStatemachine.Client<REVIEW extends Review>, ReviewStatemachine.MergeFromSourceResult, ReviewStatemachine.RebaseToTargetResult, ReviewStatemachine.ReviewEvent, ReviewStatemachine.Server<REVIEW extends Review>
Nested classes/interfaces inherited from class org.eclipse.net4j.util.fsm.FiniteStateMachine
org.eclipse.net4j.util.fsm.FiniteStateMachine.ChangeStateTransition, org.eclipse.net4j.util.fsm.FiniteStateMachine.FailTransition, org.eclipse.net4j.util.fsm.FiniteStateMachine.IgnoreTransition, org.eclipse.net4j.util.fsm.FiniteStateMachine.StateChangedEvent
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.lifecycle.ILifecycle
org.eclipse.net4j.util.lifecycle.ILifecycle.DeferrableActivation
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.event.INotifier
org.eclipse.net4j.util.event.INotifier.INotifier2
-
Field Summary
Fields inherited from class org.eclipse.emf.cdo.lm.reviews.impl.ReviewStatemachine
PROP_SUBMITTING
Fields inherited from class org.eclipse.net4j.util.fsm.FiniteStateMachine
FAIL, IGNORE
Fields inherited from class org.eclipse.net4j.util.lifecycle.Lifecycle
USE_LABEL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected final void
handleAbandon
(REVIEW review) protected final void
handleDelete
(REVIEW review) protected void
handleMergeFromSource
(REVIEW review, ReviewStatemachine.MergeFromSourceResult result) protected void
handleRebaseToTarget
(REVIEW review, ReviewStatemachine.RebaseToTargetResult result) protected final void
handleRestore
(REVIEW review) protected final void
handleSubmit
(REVIEW review, FixedBaseline submitResult) Methods inherited from class org.eclipse.emf.cdo.lm.reviews.impl.ReviewStatemachine
getState, handleCommitInSource, handleCommitInTarget, handleRestoreFinish, modify, setCommitComment, setState
Methods inherited from class org.eclipse.net4j.util.fsm.FiniteStateMachine
changeState, createFailTransition, createIgnoreTransition, dump, formatFailMessage, formatIgnoreMessage, formatProcessMessage, getEvents, getStates, getTransition, init, init, initAll, initAll, initEvents, initEvents, initStates, initStates, process
Methods inherited from class org.eclipse.net4j.util.lifecycle.Lifecycle
activate, checkActive, checkArg, checkArg, checkInactive, checkNull, checkState, checkState, deactivate, deferredActivate, doActivate, doAfterActivate, doBeforeActivate, doBeforeDeactivate, doDeactivate, dump, getLifecycleState, isActive, isDeferredActivation, toString
Methods inherited from class org.eclipse.net4j.util.event.Notifier
addListener, addUniqueListener, fireEvent, fireEvent, fireEvent, fireThrowable, firstListenerAdded, getListeners, getNotificationService, hasListener, hasListeners, lastListenerRemoved, listenerAdded, listenerRemoved, removeListener
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.net4j.util.event.INotifier
addListener, getListeners, hasListeners, removeListener
-
Constructor Details
-
Server
public Server(boolean dropReviews)
-
-
Method Details
-
handleMergeFromSource
protected void handleMergeFromSource(REVIEW review, ReviewStatemachine.MergeFromSourceResult result) - Specified by:
handleMergeFromSource
in classReviewStatemachine<REVIEW extends Review>
-
handleRebaseToTarget
- Specified by:
handleRebaseToTarget
in classReviewStatemachine<REVIEW extends Review>
-
handleSubmit
- Specified by:
handleSubmit
in classReviewStatemachine<REVIEW extends Review>
-
handleAbandon
- Specified by:
handleAbandon
in classReviewStatemachine<REVIEW extends Review>
-
handleRestore
- Specified by:
handleRestore
in classReviewStatemachine<REVIEW extends Review>
-
handleDelete
- Specified by:
handleDelete
in classReviewStatemachine<REVIEW extends Review>
-