E
- as entity, on which the Change is occuringF
- as feedback to ChangeGenerator
. Usage of Feedback
is optionalpublic class SynchronousFlowStatusChange<E,F> extends Object implements SynchronousChange<F>, FlowStatusChange
SynchronousChange
event implementation that wraps a change event and is capable of also communicating the FlowStatus
SynchronousChange
Constructor and Description |
---|
SynchronousFlowStatusChange(E entity,
F feedback,
FlowStatus flowStatus) |
Modifier and Type | Method and Description |
---|---|
E |
getEntity()
entity, on which the Change is occuring
|
F |
getFeedback()
Any Feedback/callback object
|
FlowStatus |
getFlowStatus()
The
FlowStatus of this change event |
void |
setEntity(E entity)
entity, on which the Change is occuring
|
void |
setFeedback(F feedback)
Any Feedback/callback object
|
void |
setFlowStatus(FlowStatus flowStatus)
The
FlowStatus of this change event |
public SynchronousFlowStatusChange(E entity, F feedback, FlowStatus flowStatus)
entity
- as type feedback
- as feedback type flowStatus
- as one of the standard operations (FlowStatus)public E getEntity()
public void setEntity(E entity)
public F getFeedback()
getFeedback
in interface SynchronousChange<F>
public void setFeedback(F feedback)
setFeedback
in interface SynchronousChange<F>
public FlowStatus getFlowStatus()
FlowStatus
of this change eventgetFlowStatus
in interface FlowStatusChange
public void setFlowStatus(FlowStatus flowStatus)
FlowStatus
of this change eventCopyright © 2018. All rights reserved.