private boolean isDecisionEvent()

in src/main/java/com/amazonaws/services/simpleworkflow/flow/worker/HistoryHelper.java [174:204]


        private boolean isDecisionEvent(EventType eventType) {
            switch (eventType) {
            case ActivityTaskScheduled:
            case ScheduleActivityTaskFailed:
            case ActivityTaskCancelRequested:
            case RequestCancelActivityTaskFailed:
            case MarkerRecorded:
            case RecordMarkerFailed:
            case WorkflowExecutionCompleted:
            case CompleteWorkflowExecutionFailed:
            case WorkflowExecutionFailed:
            case FailWorkflowExecutionFailed:
            case WorkflowExecutionCanceled:
            case CancelWorkflowExecutionFailed:
            case WorkflowExecutionContinuedAsNew:
            case ContinueAsNewWorkflowExecutionFailed:
            case TimerStarted:
            case StartTimerFailed:
            case TimerCanceled:
            case CancelTimerFailed:
            case SignalExternalWorkflowExecutionInitiated:
            case SignalExternalWorkflowExecutionFailed:
            case RequestCancelExternalWorkflowExecutionInitiated:
            case RequestCancelExternalWorkflowExecutionFailed:
            case StartChildWorkflowExecutionInitiated:
            case StartChildWorkflowExecutionFailed:
                return true;
            default:
                return false;
            }
        }