Class ReviewStatemachine<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>
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
Direct Known Subclasses:
ReviewStatemachine.Client, ReviewStatemachine.Server

public abstract class ReviewStatemachine<REVIEW extends Review> extends org.eclipse.net4j.util.fsm.FiniteStateMachine<ReviewStatus,ReviewStatemachine.ReviewEvent,REVIEW>
Author:
Eike Stepper
No Extend
This class is not intended to be subclassed by clients.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
    static final class 
     
    static final class 
     
    static enum 
     
    static class 
     

    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
    Modifier and Type
    Field
    Description
    static final String
     

    Fields inherited from class org.eclipse.net4j.util.fsm.FiniteStateMachine

    FAIL, IGNORE

    Fields inherited from class org.eclipse.net4j.util.lifecycle.Lifecycle

    USE_LABEL
  • Method Summary

    Modifier and Type
    Method
    Description
    protected final ReviewStatus
    getState(REVIEW review)
     
    protected abstract void
     
    protected abstract void
     
    protected abstract void
     
    protected abstract void
     
    protected abstract void
     
    protected abstract void
     
    protected abstract void
     
    protected abstract ReviewStatus
     
    protected abstract void
    handleSubmit(REVIEW review, FixedBaseline submitResult)
     
    static <REVIEW extends Review>
    CDOCommitInfo
    modify(REVIEW review, Consumer<REVIEW> modifier)
     
    protected final void
    setCommitComment(CDOObject object, String comment)
     
    protected final void
    setState(REVIEW review, ReviewStatus status)
     

    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