Package | Description |
---|---|
com.amazonaws.services.simpleworkflow.flow | |
com.amazonaws.services.simpleworkflow.flow.common | |
com.amazonaws.services.simpleworkflow.flow.worker | |
com.amazonaws.services.simpleworkflow.model |
Classes modeling the various types represented by AmazonSimpleWorkflow.
|
Constructor and Description |
---|
WorkflowReplayer(Iterable<HistoryEvent> history,
WorkflowExecution workflowExecution,
Class<T> workflowImplementationType) |
WorkflowReplayer(Iterable<HistoryEvent> history,
WorkflowExecution workflowExecution,
T workflowImplementation) |
WorkflowReplayer(Iterable<HistoryEvent> history,
WorkflowExecution workflowExecution,
WorkflowDefinitionFactoryFactory workflowDefinitionFactoryFactory) |
Modifier and Type | Method and Description |
---|---|
static HistoryEvent |
WorkflowExecutionUtils.getInstanceCloseEvent(AmazonSimpleWorkflow service,
String domain,
WorkflowExecution workflowExecution) |
Modifier and Type | Method and Description |
---|---|
static List<HistoryEvent> |
WorkflowExecutionUtils.getHistory(AmazonSimpleWorkflow service,
String domain,
WorkflowExecution workflowExecution) |
Modifier and Type | Method and Description |
---|---|
static String |
WorkflowExecutionUtils.getFailureCause(HistoryEvent historyEvent) |
static String |
WorkflowExecutionUtils.getId(HistoryEvent historyEvent) |
static WorkflowExecution |
WorkflowExecutionUtils.getWorkflowIdFromExternalWorkflowCompletedEvent(HistoryEvent event) |
static boolean |
WorkflowExecutionUtils.isActivityTaskClosedEvent(HistoryEvent event) |
static boolean |
WorkflowExecutionUtils.isExternalWorkflowClosedEvent(HistoryEvent event) |
static boolean |
WorkflowExecutionUtils.isWorkflowExecutionCompletedEvent(HistoryEvent event) |
static String |
WorkflowExecutionUtils.prettyPrintHistoryEvent(HistoryEvent event)
Returns single event in a human readable format
|
Modifier and Type | Method and Description |
---|---|
static String |
WorkflowExecutionUtils.prettyPrintHistory(Iterable<HistoryEvent> events,
boolean showWorkflowTasks) |
Modifier and Type | Method and Description |
---|---|
void |
CompleteWorkflowStateMachine.handleCancellationFailureEvent(HistoryEvent event) |
void |
CompleteWorkflowStateMachine.handleInitiatedEvent(HistoryEvent event) |
void |
CompleteWorkflowStateMachine.handleInitiationFailedEvent(HistoryEvent event) |
void |
CompleteWorkflowStateMachine.handleStartedEvent(HistoryEvent event) |
Modifier and Type | Method and Description |
---|---|
HistoryEvent |
HistoryEvent.withActivityTaskCanceledEventAttributes(ActivityTaskCanceledEventAttributes activityTaskCanceledEventAttributes)
If the event is of type
ActivityTaskCanceled then this
member is set and provides detailed information about the event. |
HistoryEvent |
HistoryEvent.withActivityTaskCancelRequestedEventAttributes(ActivityTaskCancelRequestedEventAttributes activityTaskCancelRequestedEventAttributes)
If the event is of type
ActivityTaskcancelRequested then
this member is set and provides detailed information about the event. |
HistoryEvent |
HistoryEvent.withActivityTaskCompletedEventAttributes(ActivityTaskCompletedEventAttributes activityTaskCompletedEventAttributes)
If the event is of type
ActivityTaskCompleted then this
member is set and provides detailed information about the event. |
HistoryEvent |
HistoryEvent.withActivityTaskFailedEventAttributes(ActivityTaskFailedEventAttributes activityTaskFailedEventAttributes)
If the event is of type
ActivityTaskFailed then this
member is set and provides detailed information about the event. |
HistoryEvent |
HistoryEvent.withActivityTaskScheduledEventAttributes(ActivityTaskScheduledEventAttributes activityTaskScheduledEventAttributes)
If the event is of type
ActivityTaskScheduled then this
member is set and provides detailed information about the event. |
HistoryEvent |
HistoryEvent.withActivityTaskStartedEventAttributes(ActivityTaskStartedEventAttributes activityTaskStartedEventAttributes)
If the event is of type
ActivityTaskStarted then this
member is set and provides detailed information about the event. |
HistoryEvent |
HistoryEvent.withActivityTaskTimedOutEventAttributes(ActivityTaskTimedOutEventAttributes activityTaskTimedOutEventAttributes)
If the event is of type
ActivityTaskTimedOut then this
member is set and provides detailed information about the event. |
HistoryEvent |
HistoryEvent.withCancelTimerFailedEventAttributes(CancelTimerFailedEventAttributes cancelTimerFailedEventAttributes)
If the event is of type
CancelTimerFailed then this
member is set and provides detailed information about the event. |
HistoryEvent |
HistoryEvent.withCancelWorkflowExecutionFailedEventAttributes(CancelWorkflowExecutionFailedEventAttributes cancelWorkflowExecutionFailedEventAttributes)
If the event is of type
CancelWorkflowExecutionFailed
then this member is set and provides detailed information about the
event. |
HistoryEvent |
HistoryEvent.withChildWorkflowExecutionCanceledEventAttributes(ChildWorkflowExecutionCanceledEventAttributes childWorkflowExecutionCanceledEventAttributes)
If the event is of type
ChildWorkflowExecutionCanceled
then this member is set and provides detailed information about the
event. |
HistoryEvent |
HistoryEvent.withChildWorkflowExecutionCompletedEventAttributes(ChildWorkflowExecutionCompletedEventAttributes childWorkflowExecutionCompletedEventAttributes)
If the event is of type
ChildWorkflowExecutionCompleted
then this member is set and provides detailed information about the
event. |
HistoryEvent |
HistoryEvent.withChildWorkflowExecutionFailedEventAttributes(ChildWorkflowExecutionFailedEventAttributes childWorkflowExecutionFailedEventAttributes)
If the event is of type
ChildWorkflowExecutionFailed then
this member is set and provides detailed information about the event. |
HistoryEvent |
HistoryEvent.withChildWorkflowExecutionStartedEventAttributes(ChildWorkflowExecutionStartedEventAttributes childWorkflowExecutionStartedEventAttributes)
If the event is of type
ChildWorkflowExecutionStarted
then this member is set and provides detailed information about the
event. |
HistoryEvent |
HistoryEvent.withChildWorkflowExecutionTerminatedEventAttributes(ChildWorkflowExecutionTerminatedEventAttributes childWorkflowExecutionTerminatedEventAttributes)
If the event is of type
ChildWorkflowExecutionTerminated
then this member is set and provides detailed information about the
event. |
HistoryEvent |
HistoryEvent.withChildWorkflowExecutionTimedOutEventAttributes(ChildWorkflowExecutionTimedOutEventAttributes childWorkflowExecutionTimedOutEventAttributes)
If the event is of type
ChildWorkflowExecutionTimedOut
then this member is set and provides detailed information about the
event. |
HistoryEvent |
HistoryEvent.withCompleteWorkflowExecutionFailedEventAttributes(CompleteWorkflowExecutionFailedEventAttributes completeWorkflowExecutionFailedEventAttributes)
If the event is of type
CompleteWorkflowExecutionFailed
then this member is set and provides detailed information about the
event. |
HistoryEvent |
HistoryEvent.withContinueAsNewWorkflowExecutionFailedEventAttributes(ContinueAsNewWorkflowExecutionFailedEventAttributes continueAsNewWorkflowExecutionFailedEventAttributes)
If the event is of type
ContinueAsNewWorkflowExecutionFailed then this member is
set and provides detailed information about the event. |
HistoryEvent |
HistoryEvent.withDecisionTaskCompletedEventAttributes(DecisionTaskCompletedEventAttributes decisionTaskCompletedEventAttributes)
If the event is of type
DecisionTaskCompleted then this
member is set and provides detailed information about the event. |
HistoryEvent |
HistoryEvent.withDecisionTaskScheduledEventAttributes(DecisionTaskScheduledEventAttributes decisionTaskScheduledEventAttributes)
If the event is of type
DecisionTaskScheduled then this
member is set and provides detailed information about the event. |
HistoryEvent |
HistoryEvent.withDecisionTaskStartedEventAttributes(DecisionTaskStartedEventAttributes decisionTaskStartedEventAttributes)
If the event is of type
DecisionTaskStarted then this
member is set and provides detailed information about the event. |
HistoryEvent |
HistoryEvent.withDecisionTaskTimedOutEventAttributes(DecisionTaskTimedOutEventAttributes decisionTaskTimedOutEventAttributes)
If the event is of type
DecisionTaskTimedOut then this
member is set and provides detailed information about the event. |
HistoryEvent |
HistoryEvent.withEventId(Long eventId)
The system generated id of the event.
|
HistoryEvent |
HistoryEvent.withEventTimestamp(Date eventTimestamp)
The date and time when the event occurred.
|
HistoryEvent |
HistoryEvent.withEventType(EventType eventType)
The type of the history event.
|
HistoryEvent |
HistoryEvent.withEventType(String eventType)
The type of the history event.
|
HistoryEvent |
HistoryEvent.withExternalWorkflowExecutionCancelRequestedEventAttributes(ExternalWorkflowExecutionCancelRequestedEventAttributes externalWorkflowExecutionCancelRequestedEventAttributes)
If the event is of type
ExternalWorkflowExecutionCancelRequested then this member
is set and provides detailed information about the event. |
HistoryEvent |
HistoryEvent.withExternalWorkflowExecutionSignaledEventAttributes(ExternalWorkflowExecutionSignaledEventAttributes externalWorkflowExecutionSignaledEventAttributes)
If the event is of type
ExternalWorkflowExecutionSignaled
then this member is set and provides detailed information about the
event. |
HistoryEvent |
HistoryEvent.withFailWorkflowExecutionFailedEventAttributes(FailWorkflowExecutionFailedEventAttributes failWorkflowExecutionFailedEventAttributes)
If the event is of type
FailWorkflowExecutionFailed then
this member is set and provides detailed information about the event. |
HistoryEvent |
HistoryEvent.withMarkerRecordedEventAttributes(MarkerRecordedEventAttributes markerRecordedEventAttributes)
If the event is of type
MarkerRecorded then this member
is set and provides detailed information about the event. |
HistoryEvent |
HistoryEvent.withRecordMarkerFailedEventAttributes(RecordMarkerFailedEventAttributes recordMarkerFailedEventAttributes)
If the event is of type
DecisionTaskFailed then this
member is set and provides detailed information about the event. |
HistoryEvent |
HistoryEvent.withRequestCancelActivityTaskFailedEventAttributes(RequestCancelActivityTaskFailedEventAttributes requestCancelActivityTaskFailedEventAttributes)
If the event is of type
RequestCancelActivityTaskFailed
then this member is set and provides detailed information about the
event. |
HistoryEvent |
HistoryEvent.withRequestCancelExternalWorkflowExecutionFailedEventAttributes(RequestCancelExternalWorkflowExecutionFailedEventAttributes requestCancelExternalWorkflowExecutionFailedEventAttributes)
If the event is of type
RequestCancelExternalWorkflowExecutionFailed then this
member is set and provides detailed information about the event. |
HistoryEvent |
HistoryEvent.withRequestCancelExternalWorkflowExecutionInitiatedEventAttributes(RequestCancelExternalWorkflowExecutionInitiatedEventAttributes requestCancelExternalWorkflowExecutionInitiatedEventAttributes)
If the event is of type
RequestCancelExternalWorkflowExecutionInitiated then this
member is set and provides detailed information about the event. |
HistoryEvent |
HistoryEvent.withScheduleActivityTaskFailedEventAttributes(ScheduleActivityTaskFailedEventAttributes scheduleActivityTaskFailedEventAttributes)
If the event is of type
ScheduleActivityTaskFailed then
this member is set and provides detailed information about the event. |
HistoryEvent |
HistoryEvent.withSignalExternalWorkflowExecutionFailedEventAttributes(SignalExternalWorkflowExecutionFailedEventAttributes signalExternalWorkflowExecutionFailedEventAttributes)
If the event is of type
SignalExternalWorkflowExecutionFailed then this member is
set and provides detailed information about the event. |
HistoryEvent |
HistoryEvent.withSignalExternalWorkflowExecutionInitiatedEventAttributes(SignalExternalWorkflowExecutionInitiatedEventAttributes signalExternalWorkflowExecutionInitiatedEventAttributes)
If the event is of type
SignalExternalWorkflowExecutionInitiated then this member
is set and provides detailed information about the event. |
HistoryEvent |
HistoryEvent.withStartChildWorkflowExecutionFailedEventAttributes(StartChildWorkflowExecutionFailedEventAttributes startChildWorkflowExecutionFailedEventAttributes)
If the event is of type
StartChildWorkflowExecutionFailed
then this member is set and provides detailed information about the
event. |
HistoryEvent |
HistoryEvent.withStartChildWorkflowExecutionInitiatedEventAttributes(StartChildWorkflowExecutionInitiatedEventAttributes startChildWorkflowExecutionInitiatedEventAttributes)
If the event is of type
StartChildWorkflowExecutionInitiated then this member is
set and provides detailed information about the event. |
HistoryEvent |
HistoryEvent.withStartTimerFailedEventAttributes(StartTimerFailedEventAttributes startTimerFailedEventAttributes)
If the event is of type
StartTimerFailed then this member
is set and provides detailed information about the event. |
HistoryEvent |
HistoryEvent.withTimerCanceledEventAttributes(TimerCanceledEventAttributes timerCanceledEventAttributes)
If the event is of type
TimerCanceled then this member is
set and provides detailed information about the event. |
HistoryEvent |
HistoryEvent.withTimerFiredEventAttributes(TimerFiredEventAttributes timerFiredEventAttributes)
If the event is of type
TimerFired then this member is
set and provides detailed information about the event. |
HistoryEvent |
HistoryEvent.withTimerStartedEventAttributes(TimerStartedEventAttributes timerStartedEventAttributes)
If the event is of type
TimerStarted then this member is
set and provides detailed information about the event. |
HistoryEvent |
HistoryEvent.withWorkflowExecutionCanceledEventAttributes(WorkflowExecutionCanceledEventAttributes workflowExecutionCanceledEventAttributes)
If the event is of type
WorkflowExecutionCanceled then
this member is set and provides detailed information about the event. |
HistoryEvent |
HistoryEvent.withWorkflowExecutionCancelRequestedEventAttributes(WorkflowExecutionCancelRequestedEventAttributes workflowExecutionCancelRequestedEventAttributes)
If the event is of type
WorkflowExecutionCancelRequested
then this member is set and provides detailed information about the
event. |
HistoryEvent |
HistoryEvent.withWorkflowExecutionCompletedEventAttributes(WorkflowExecutionCompletedEventAttributes workflowExecutionCompletedEventAttributes)
If the event is of type
WorkflowExecutionCompleted then
this member is set and provides detailed information about the event. |
HistoryEvent |
HistoryEvent.withWorkflowExecutionContinuedAsNewEventAttributes(WorkflowExecutionContinuedAsNewEventAttributes workflowExecutionContinuedAsNewEventAttributes)
If the event is of type
WorkflowExecutionContinuedAsNew
then this member is set and provides detailed information about the
event. |
HistoryEvent |
HistoryEvent.withWorkflowExecutionFailedEventAttributes(WorkflowExecutionFailedEventAttributes workflowExecutionFailedEventAttributes)
If the event is of type
WorkflowExecutionFailed then this
member is set and provides detailed information about the event. |
HistoryEvent |
HistoryEvent.withWorkflowExecutionSignaledEventAttributes(WorkflowExecutionSignaledEventAttributes workflowExecutionSignaledEventAttributes)
If the event is of type
WorkflowExecutionSignaled then
this member is set and provides detailed information about the event. |
HistoryEvent |
HistoryEvent.withWorkflowExecutionStartedEventAttributes(WorkflowExecutionStartedEventAttributes workflowExecutionStartedEventAttributes)
If the event is of type
WorkflowExecutionStarted then
this member is set and provides detailed information about the event. |
HistoryEvent |
HistoryEvent.withWorkflowExecutionTerminatedEventAttributes(WorkflowExecutionTerminatedEventAttributes workflowExecutionTerminatedEventAttributes)
If the event is of type
WorkflowExecutionTerminated then
this member is set and provides detailed information about the event. |
HistoryEvent |
HistoryEvent.withWorkflowExecutionTimedOutEventAttributes(WorkflowExecutionTimedOutEventAttributes workflowExecutionTimedOutEventAttributes)
If the event is of type
WorkflowExecutionTimedOut then
this member is set and provides detailed information about the event. |
Modifier and Type | Method and Description |
---|---|
List<HistoryEvent> |
DecisionTask.getEvents()
A paginated list of history events of the workflow execution.
|
List<HistoryEvent> |
History.getEvents()
The list of history events.
|
Modifier and Type | Method and Description |
---|---|
DecisionTask |
DecisionTask.withEvents(HistoryEvent... events)
A paginated list of history events of the workflow execution.
|
History |
History.withEvents(HistoryEvent... events)
The list of history events.
|
Modifier and Type | Method and Description |
---|---|
void |
DecisionTask.setEvents(Collection<HistoryEvent> events)
A paginated list of history events of the workflow execution.
|
void |
History.setEvents(Collection<HistoryEvent> events)
The list of history events.
|
DecisionTask |
DecisionTask.withEvents(Collection<HistoryEvent> events)
A paginated list of history events of the workflow execution.
|
History |
History.withEvents(Collection<HistoryEvent> events)
The list of history events.
|
Copyright © 2014. All rights reserved.