public static interface WorkflowService.Iface
| Modifier and Type | Method and Description |
|---|---|
void |
DeprecateDomain(DeprecateDomainRequest deprecateRequest)
DeprecateDomain us used to update status of a registered domain to DEPRECATED.
|
DescribeDomainResponse |
DescribeDomain(DescribeDomainRequest describeRequest)
DescribeDomain returns the information and configuration for a registered domain.
|
DescribeTaskListResponse |
DescribeTaskList(DescribeTaskListRequest request)
DescribeTaskList returns information about the target tasklist, right now this API returns the
pollers which polled this tasklist in last few minutes.
|
DescribeWorkflowExecutionResponse |
DescribeWorkflowExecution(DescribeWorkflowExecutionRequest describeRequest)
DescribeWorkflowExecution returns information about the specified workflow execution.
|
GetWorkflowExecutionHistoryResponse |
GetWorkflowExecutionHistory(GetWorkflowExecutionHistoryRequest getRequest)
Returns the history of specified workflow execution.
|
ListClosedWorkflowExecutionsResponse |
ListClosedWorkflowExecutions(ListClosedWorkflowExecutionsRequest listRequest)
ListClosedWorkflowExecutions is a visibility API to list the closed executions in a specific domain.
|
ListOpenWorkflowExecutionsResponse |
ListOpenWorkflowExecutions(ListOpenWorkflowExecutionsRequest listRequest)
ListOpenWorkflowExecutions is a visibility API to list the open executions in a specific domain.
|
PollForActivityTaskResponse |
PollForActivityTask(PollForActivityTaskRequest pollRequest)
PollForActivityTask is called by application worker to process ActivityTask from a specific taskList.
|
PollForDecisionTaskResponse |
PollForDecisionTask(PollForDecisionTaskRequest pollRequest)
PollForDecisionTask is called by application worker to process DecisionTask from a specific taskList.
|
QueryWorkflowResponse |
QueryWorkflow(QueryWorkflowRequest queryRequest)
QueryWorkflow returns query result for a specified workflow execution
|
RecordActivityTaskHeartbeatResponse |
RecordActivityTaskHeartbeat(RecordActivityTaskHeartbeatRequest heartbeatRequest)
RecordActivityTaskHeartbeat is called by application worker while it is processing an ActivityTask.
|
void |
RegisterDomain(RegisterDomainRequest registerRequest)
RegisterDomain creates a new domain which can be used as a container for all resources.
|
void |
RequestCancelWorkflowExecution(RequestCancelWorkflowExecutionRequest cancelRequest)
RequestCancelWorkflowExecution is called by application worker when it wants to request cancellation of a workflow instance.
|
void |
RespondActivityTaskCanceled(RespondActivityTaskCanceledRequest canceledRequest)
RespondActivityTaskCanceled is called by application worker when it is successfully canceled an ActivityTask.
|
void |
RespondActivityTaskCanceledByID(RespondActivityTaskCanceledByIDRequest canceledRequest)
RespondActivityTaskCanceledByID is called by application worker when it is successfully canceled an ActivityTask.
|
void |
RespondActivityTaskCompleted(RespondActivityTaskCompletedRequest completeRequest)
RespondActivityTaskCompleted is called by application worker when it is done processing an ActivityTask.
|
void |
RespondActivityTaskCompletedByID(RespondActivityTaskCompletedByIDRequest completeRequest)
RespondActivityTaskCompletedByID is called by application worker when it is done processing an ActivityTask.
|
void |
RespondActivityTaskFailed(RespondActivityTaskFailedRequest failRequest)
RespondActivityTaskFailed is called by application worker when it is done processing an ActivityTask.
|
void |
RespondActivityTaskFailedByID(RespondActivityTaskFailedByIDRequest failRequest)
RespondActivityTaskFailedByID is called by application worker when it is done processing an ActivityTask.
|
void |
RespondDecisionTaskCompleted(RespondDecisionTaskCompletedRequest completeRequest)
RespondDecisionTaskCompleted is called by application worker to complete a DecisionTask handed as a result of
'PollForDecisionTask' API call.
|
void |
RespondDecisionTaskFailed(RespondDecisionTaskFailedRequest failedRequest)
RespondDecisionTaskFailed is called by application worker to indicate failure.
|
void |
RespondQueryTaskCompleted(RespondQueryTaskCompletedRequest completeRequest)
RespondQueryTaskCompleted is called by application worker to complete a QueryTask (which is a DecisionTask for query)
as a result of 'PollForDecisionTask' API call.
|
void |
SignalWorkflowExecution(SignalWorkflowExecutionRequest signalRequest)
SignalWorkflowExecution is used to send a signal event to running workflow execution.
|
StartWorkflowExecutionResponse |
StartWorkflowExecution(StartWorkflowExecutionRequest startRequest)
StartWorkflowExecution starts a new long running workflow instance.
|
void |
TerminateWorkflowExecution(TerminateWorkflowExecutionRequest terminateRequest)
TerminateWorkflowExecution terminates an existing workflow execution by recording WorkflowExecutionTerminated event
in the history and immediately terminating the execution instance.
|
UpdateDomainResponse |
UpdateDomain(UpdateDomainRequest updateRequest)
UpdateDomain is used to update the information and configuration for a registered domain.
|
void RegisterDomain(RegisterDomainRequest registerRequest) throws BadRequestError, InternalServiceError, DomainAlreadyExistsError, org.apache.thrift.TException
registerRequest - BadRequestErrorInternalServiceErrorDomainAlreadyExistsErrororg.apache.thrift.TExceptionDescribeDomainResponse DescribeDomain(DescribeDomainRequest describeRequest) throws BadRequestError, InternalServiceError, EntityNotExistsError, org.apache.thrift.TException
describeRequest - BadRequestErrorInternalServiceErrorEntityNotExistsErrororg.apache.thrift.TExceptionUpdateDomainResponse UpdateDomain(UpdateDomainRequest updateRequest) throws BadRequestError, InternalServiceError, EntityNotExistsError, org.apache.thrift.TException
updateRequest - BadRequestErrorInternalServiceErrorEntityNotExistsErrororg.apache.thrift.TExceptionvoid DeprecateDomain(DeprecateDomainRequest deprecateRequest) throws BadRequestError, InternalServiceError, EntityNotExistsError, org.apache.thrift.TException
deprecateRequest - BadRequestErrorInternalServiceErrorEntityNotExistsErrororg.apache.thrift.TExceptionStartWorkflowExecutionResponse StartWorkflowExecution(StartWorkflowExecutionRequest startRequest) throws BadRequestError, InternalServiceError, WorkflowExecutionAlreadyStartedError, ServiceBusyError, org.apache.thrift.TException
startRequest - BadRequestErrorInternalServiceErrorWorkflowExecutionAlreadyStartedErrorServiceBusyErrororg.apache.thrift.TExceptionGetWorkflowExecutionHistoryResponse GetWorkflowExecutionHistory(GetWorkflowExecutionHistoryRequest getRequest) throws BadRequestError, InternalServiceError, EntityNotExistsError, ServiceBusyError, org.apache.thrift.TException
getRequest - BadRequestErrorInternalServiceErrorEntityNotExistsErrorServiceBusyErrororg.apache.thrift.TExceptionPollForDecisionTaskResponse PollForDecisionTask(PollForDecisionTaskRequest pollRequest) throws BadRequestError, InternalServiceError, ServiceBusyError, org.apache.thrift.TException
pollRequest - BadRequestErrorInternalServiceErrorServiceBusyErrororg.apache.thrift.TExceptionvoid RespondDecisionTaskCompleted(RespondDecisionTaskCompletedRequest completeRequest) throws BadRequestError, InternalServiceError, EntityNotExistsError, org.apache.thrift.TException
completeRequest - BadRequestErrorInternalServiceErrorEntityNotExistsErrororg.apache.thrift.TExceptionvoid RespondDecisionTaskFailed(RespondDecisionTaskFailedRequest failedRequest) throws BadRequestError, InternalServiceError, EntityNotExistsError, org.apache.thrift.TException
failedRequest - BadRequestErrorInternalServiceErrorEntityNotExistsErrororg.apache.thrift.TExceptionPollForActivityTaskResponse PollForActivityTask(PollForActivityTaskRequest pollRequest) throws BadRequestError, InternalServiceError, ServiceBusyError, org.apache.thrift.TException
pollRequest - BadRequestErrorInternalServiceErrorServiceBusyErrororg.apache.thrift.TExceptionRecordActivityTaskHeartbeatResponse RecordActivityTaskHeartbeat(RecordActivityTaskHeartbeatRequest heartbeatRequest) throws BadRequestError, InternalServiceError, EntityNotExistsError, org.apache.thrift.TException
heartbeatRequest - BadRequestErrorInternalServiceErrorEntityNotExistsErrororg.apache.thrift.TExceptionvoid RespondActivityTaskCompleted(RespondActivityTaskCompletedRequest completeRequest) throws BadRequestError, InternalServiceError, EntityNotExistsError, org.apache.thrift.TException
completeRequest - BadRequestErrorInternalServiceErrorEntityNotExistsErrororg.apache.thrift.TExceptionvoid RespondActivityTaskCompletedByID(RespondActivityTaskCompletedByIDRequest completeRequest) throws BadRequestError, InternalServiceError, EntityNotExistsError, org.apache.thrift.TException
completeRequest - BadRequestErrorInternalServiceErrorEntityNotExistsErrororg.apache.thrift.TExceptionvoid RespondActivityTaskFailed(RespondActivityTaskFailedRequest failRequest) throws BadRequestError, InternalServiceError, EntityNotExistsError, org.apache.thrift.TException
failRequest - BadRequestErrorInternalServiceErrorEntityNotExistsErrororg.apache.thrift.TExceptionvoid RespondActivityTaskFailedByID(RespondActivityTaskFailedByIDRequest failRequest) throws BadRequestError, InternalServiceError, EntityNotExistsError, org.apache.thrift.TException
failRequest - BadRequestErrorInternalServiceErrorEntityNotExistsErrororg.apache.thrift.TExceptionvoid RespondActivityTaskCanceled(RespondActivityTaskCanceledRequest canceledRequest) throws BadRequestError, InternalServiceError, EntityNotExistsError, org.apache.thrift.TException
canceledRequest - BadRequestErrorInternalServiceErrorEntityNotExistsErrororg.apache.thrift.TExceptionvoid RespondActivityTaskCanceledByID(RespondActivityTaskCanceledByIDRequest canceledRequest) throws BadRequestError, InternalServiceError, EntityNotExistsError, org.apache.thrift.TException
canceledRequest - BadRequestErrorInternalServiceErrorEntityNotExistsErrororg.apache.thrift.TExceptionvoid RequestCancelWorkflowExecution(RequestCancelWorkflowExecutionRequest cancelRequest) throws BadRequestError, InternalServiceError, EntityNotExistsError, CancellationAlreadyRequestedError, ServiceBusyError, org.apache.thrift.TException
cancelRequest - BadRequestErrorInternalServiceErrorEntityNotExistsErrorCancellationAlreadyRequestedErrorServiceBusyErrororg.apache.thrift.TExceptionvoid SignalWorkflowExecution(SignalWorkflowExecutionRequest signalRequest) throws BadRequestError, InternalServiceError, EntityNotExistsError, ServiceBusyError, org.apache.thrift.TException
signalRequest - BadRequestErrorInternalServiceErrorEntityNotExistsErrorServiceBusyErrororg.apache.thrift.TExceptionvoid TerminateWorkflowExecution(TerminateWorkflowExecutionRequest terminateRequest) throws BadRequestError, InternalServiceError, EntityNotExistsError, ServiceBusyError, org.apache.thrift.TException
terminateRequest - BadRequestErrorInternalServiceErrorEntityNotExistsErrorServiceBusyErrororg.apache.thrift.TExceptionListOpenWorkflowExecutionsResponse ListOpenWorkflowExecutions(ListOpenWorkflowExecutionsRequest listRequest) throws BadRequestError, InternalServiceError, EntityNotExistsError, ServiceBusyError, org.apache.thrift.TException
listRequest - BadRequestErrorInternalServiceErrorEntityNotExistsErrorServiceBusyErrororg.apache.thrift.TExceptionListClosedWorkflowExecutionsResponse ListClosedWorkflowExecutions(ListClosedWorkflowExecutionsRequest listRequest) throws BadRequestError, InternalServiceError, EntityNotExistsError, ServiceBusyError, org.apache.thrift.TException
listRequest - BadRequestErrorInternalServiceErrorEntityNotExistsErrorServiceBusyErrororg.apache.thrift.TExceptionvoid RespondQueryTaskCompleted(RespondQueryTaskCompletedRequest completeRequest) throws BadRequestError, InternalServiceError, EntityNotExistsError, org.apache.thrift.TException
completeRequest - BadRequestErrorInternalServiceErrorEntityNotExistsErrororg.apache.thrift.TExceptionQueryWorkflowResponse QueryWorkflow(QueryWorkflowRequest queryRequest) throws BadRequestError, InternalServiceError, EntityNotExistsError, QueryFailedError, org.apache.thrift.TException
queryRequest - BadRequestErrorInternalServiceErrorEntityNotExistsErrorQueryFailedErrororg.apache.thrift.TExceptionDescribeWorkflowExecutionResponse DescribeWorkflowExecution(DescribeWorkflowExecutionRequest describeRequest) throws BadRequestError, InternalServiceError, EntityNotExistsError, org.apache.thrift.TException
describeRequest - BadRequestErrorInternalServiceErrorEntityNotExistsErrororg.apache.thrift.TExceptionDescribeTaskListResponse DescribeTaskList(DescribeTaskListRequest request) throws BadRequestError, InternalServiceError, EntityNotExistsError, org.apache.thrift.TException
request - BadRequestErrorInternalServiceErrorEntityNotExistsErrororg.apache.thrift.TException