org.eclipse.stardust.engine.api.runtime
Interface HistoricalEventDescriptionStateChange

All Superinterfaces:
HistoricalEventDescription, Serializable

public interface HistoricalEventDescriptionStateChange
extends HistoricalEventDescription

Description object for a state change event.

Author:
Stephan.Born

Field Summary
static int FROM_STATE_IDX
          Valid index value for HistoricalEventDescription.getItem(int).
static int TO_PERFORMER_IDX
          Valid index value for HistoricalEventDescription.getItem(int).
static int TO_STATE_IDX
          Valid index value for HistoricalEventDescription.getItem(int).
 
Method Summary
 ParticipantInfo getFromPerformer()
          Will return the performer from before the state change was performed.
 ActivityInstanceState getFromState()
          Will return the state before state change was performed.
 ParticipantInfo getOnBehalfOfPerformer()
          Will return the performer this state change was performed on behalf of.
 Participant getToPerformer()
          Will return the performer after state change was performed.
 ActivityInstanceState getToState()
          Will return the state after state change was performed.
 
Methods inherited from interface org.eclipse.stardust.engine.api.runtime.HistoricalEventDescription
getItem
 

Field Detail

FROM_STATE_IDX

static final int FROM_STATE_IDX
Valid index value for HistoricalEventDescription.getItem(int). Will return state before state change was performed.

See Also:
getFromState(), Constant Field Values

TO_STATE_IDX

static final int TO_STATE_IDX
Valid index value for HistoricalEventDescription.getItem(int). Will return state after state change was performed.

See Also:
getToState(), Constant Field Values

TO_PERFORMER_IDX

static final int TO_PERFORMER_IDX
Valid index value for HistoricalEventDescription.getItem(int). Will return performer after state change was performed.

See Also:
getToPerformer(), Constant Field Values
Method Detail

getFromState

ActivityInstanceState getFromState()
Will return the state before state change was performed.

Returns:
The state before state change was performed.

getFromPerformer

ParticipantInfo getFromPerformer()
Will return the performer from before the state change was performed.

Returns:
The performer from before the state change was performed.

getToState

ActivityInstanceState getToState()
Will return the state after state change was performed.

Returns:
The state after state change was performed.

getToPerformer

Participant getToPerformer()
Will return the performer after state change was performed.

Returns:
The performer after state change was performed.

getOnBehalfOfPerformer

ParticipantInfo getOnBehalfOfPerformer()
Will return the performer this state change was performed on behalf of.

Returns:
The performer this state change was performed on behalf of.


Copyright © 2017 Eclipse Stardust. All Rights Reserved.