M
- the type of a class representing proposed modification by the instigator.public static class AbstractStateReplacementFlow.Proposal<M>
The class AbstractStateReplacementFlow.Proposal
contains the details of proposed state modification.
This is the message sent by the class AbstractStateReplacementFlow.Instigator
to all participants(class AbstractStateReplacementFlow.Acceptor
) during the state replacement process.
Constructor and Description |
---|
Proposal(StateRef stateRef,
M modification)
The
class AbstractStateReplacementFlow.Proposal contains the details of proposed state modification.
This is the message sent by the class AbstractStateReplacementFlow.Instigator to all participants(class AbstractStateReplacementFlow.Acceptor ) during the state replacement process. |
Modifier and Type | Method and Description |
---|---|
StateRef |
component1() |
M |
component2() |
AbstractStateReplacementFlow.Proposal<M> |
copy(StateRef stateRef,
M modification)
The
class AbstractStateReplacementFlow.Proposal contains the details of proposed state modification.
This is the message sent by the class AbstractStateReplacementFlow.Instigator to all participants(class AbstractStateReplacementFlow.Acceptor ) during the state replacement process. |
boolean |
equals(java.lang.Object p) |
M |
getModification() |
StateRef |
getStateRef() |
int |
hashCode() |
java.lang.String |
toString() |
public Proposal(StateRef stateRef, M modification)
The class AbstractStateReplacementFlow.Proposal
contains the details of proposed state modification.
This is the message sent by the class AbstractStateReplacementFlow.Instigator
to all participants(class AbstractStateReplacementFlow.Acceptor
) during the state replacement process.
public StateRef getStateRef()
public M getModification()
public StateRef component1()
public M component2()
public AbstractStateReplacementFlow.Proposal<M> copy(StateRef stateRef, M modification)
The class AbstractStateReplacementFlow.Proposal
contains the details of proposed state modification.
This is the message sent by the class AbstractStateReplacementFlow.Instigator
to all participants(class AbstractStateReplacementFlow.Acceptor
) during the state replacement process.
public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)