Options
All
  • Public
  • Public/Protected
  • All
Menu

Class WorkflowHistoryGenerator

Hierarchy

Index

Constructors

constructor

Properties

childPolicy

childPolicy: ChildPolicy

currentEventId

currentEventId: number = 1

taskList

taskList: TaskList

timestampGen

timestampGen: function = randomTimestampGen

Type declaration

    • (): Date
    • Returns Date

workflowType

workflowType: WorkflowType

Methods

createCancelFailedEvent

  • createCancelFailedEvent(params: Partial<CancelWorkflowExecutionFailedEventAttributes>): HistoryEvent

createCancelRequestedEvent

  • createCancelRequestedEvent(params: Partial<WorkflowExecutionCancelRequestedEventAttributes>): HistoryEvent

createCanceledEvent

  • createCanceledEvent(params: Partial<WorkflowExecutionCanceledEventAttributes>): HistoryEvent

createCompleteFailedEvent

  • createCompleteFailedEvent(params: Partial<CompleteWorkflowExecutionFailedEventAttributes>): HistoryEvent

createCompletedEvent

  • createCompletedEvent(params?: Partial<WorkflowExecutionCompletedEventAttributes>): HistoryEvent

createContinueAsNewFailedEvent

  • createContinueAsNewFailedEvent(params: Partial<ContinueAsNewWorkflowExecutionFailedEventAttributes>): HistoryEvent

createContinuedAsNewEvent

  • createContinuedAsNewEvent(params: Partial<WorkflowExecutionContinuedAsNewEventAttributes>): HistoryEvent

createFailFailedEvent

  • createFailFailedEvent(params: Partial<FailWorkflowExecutionFailedEventAttributes>): HistoryEvent

createFailedEvent

  • createFailedEvent(params: Partial<WorkflowExecutionFailedEventAttributes>): HistoryEvent

createHistoryEvent

  • createHistoryEvent(eventType: EventType): HistoryEvent

createStartedEvent

  • createStartedEvent(params?: Partial<WorkflowExecutionStartedEventAttributes>): HistoryEvent

createTerminatedEvent

  • createTerminatedEvent(params: Partial<WorkflowExecutionTerminatedEventAttributes>): HistoryEvent

createTimedOutEvent

  • createTimedOutEvent(params: Partial<WorkflowExecutionTimedOutEventAttributes>): HistoryEvent

seek

  • seek(eventId: number): void

Generated using TypeDoc