@Tracked(value=TRACE) @Activity(value="Microservice Orchestrator", category=InvokeProcessActivity.class, icon="com.centurylink.mdw.microservice/orchestrator.png", pagelet="com.centurylink.mdw.microservice/orchestrator.pagelet") public class OrchestratorActivity extends InvokeProcessActivityBase
SYNCHRONOUS
DISABLED, GROOVY, JAVA_EL, JAVASCRIPT, logger, OUTPUTDOCS
Constructor and Description |
---|
OrchestratorActivity() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
allSubProcessCompleted() |
protected java.util.Map<java.lang.String,java.lang.String> |
createBindings(java.util.List<Variable> childVars,
int index,
com.centurylink.mdw.microservice.Microservice service,
boolean passDocumentContent)
Returns variable bindings to be passed into subprocess.
|
protected ProcessInstance |
createProcessInstance(int index,
com.centurylink.mdw.microservice.Microservice service) |
void |
execute()
This method will be deprecated soon.
|
protected void |
executeServiceSubflowsInParallel(com.centurylink.mdw.microservice.ServicePlan servicePlan) |
protected void |
executeServiceSubflowsInSequence(com.centurylink.mdw.microservice.ServicePlan servicePlan) |
protected int |
getDelay() |
protected com.centurylink.mdw.microservice.ServicePlan |
getServicePlan() |
protected java.lang.String |
getServicePlanVariableName()
You'd need a custom .impl asset to set this through Studio or Hub.
|
protected ServiceSummary |
getServiceSummary(boolean forUpdate) |
protected java.lang.String |
getServiceSummaryVariableName()
You'd need a custom .impl asset to set this through Studio or Hub
|
protected Process |
getSubflow(com.centurylink.mdw.microservice.Microservice service)
Can be a process or template.
|
protected boolean |
isParallel() |
protected boolean |
isSynchronous() |
boolean |
needSuspend()
The method is invoked by the engine right after the activity is executed,
to determine whether to put the activity instance in waiting status.
|
protected boolean |
resumeOnProcessFinish(InternalEvent msg,
java.lang.Integer status) |
allowInput, evaluateBindingValue, getOutputParameters, getSubprocess, onFinish, processOtherMessage, resume, resumeOnOtherEvent, resumeWaiting
deregisterEvents, getMessageFromEventMessage, getWaitEventSpecs, handleEventCompletionCode, registerWaitEvents, registerWaitEvents
execute
createDocument, createDocument, createDocument, createDocument, evaluateExpression, executeScript, getActivityId, getActivityInstance, getActivityInstanceId, getActivityName, getAttribute, getAttribute, getAttribute, getAttribute, getAttributes, getAttributeValue, getAttributeValueSmart, getDocument, getDocumentContent, getDocumentForUpdate, getDocumentType, getEngine, getExternalEventInstanceDetails, getLogger, getMainProcessDefinition, getMasterRequestId, getOutputDocuments, getPackage, getParameterId, getParameters, getParameterStringValue, getParameterType, getParameterValue, getPerformanceLevel, getProcessDefinition, getProcessId, getProcessInstance, getProcessInstanceId, getProcessInstanceOwner, getProcessInstanceOwnerId, getProperty, getRequiredAttribute, getRequiredVariableValue, getReturnCode, getReturnMessage, getRuntimeContext, getScriptEvaluator, getScriptExecClassName, getScriptExecutor, getValue, getValues, getValueSmart, getVariableInstance, getVariableValue, getVariableValueSmart, getWorkTransitionInstanceId, initialize, isDisabled, isLogDebugEnabled, isLogInfoEnabled, isOutputDocument, lockActivityInstance, lockProcessInstance, logdebug, logDebug, logError, logError, logexception, loginfo, logInfo, logsevere, logwarn, logWarn, prepare, setOutputDocuments, setParameterValue, setParameterValueAsDocument, setParameterValues, setProcessInstanceCompletionCode, setReturnCode, setReturnMessage, setValue, setVariableValue, setVariableValue, startTransaction, stopTransaction, translatePlaceHolder, updateDocumentContent, updateDocumentInfo, updateDocumentInfo, valueIsJavaExpression, valueIsVariable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
execute
public void execute() throws ActivityException
DefaultActivityImpl
execute
in interface GeneralActivity
execute
in class DefaultActivityImpl
ActivityException
public boolean needSuspend()
SuspendableActivity
needSuspend
in interface SuspendableActivity
needSuspend
in class AbstractWait
protected int getDelay()
protected boolean isSynchronous()
protected boolean isParallel()
protected com.centurylink.mdw.microservice.ServicePlan getServicePlan() throws ActivityException
ActivityException
protected java.lang.String getServicePlanVariableName()
protected ServiceSummary getServiceSummary(boolean forUpdate) throws ActivityException
ActivityException
protected java.lang.String getServiceSummaryVariableName()
protected Process getSubflow(com.centurylink.mdw.microservice.Microservice service) throws ActivityException
ActivityException
protected ProcessInstance createProcessInstance(int index, com.centurylink.mdw.microservice.Microservice service) throws ActivityException, DataAccessException, ProcessException, java.io.IOException
ActivityException
DataAccessException
ProcessException
java.io.IOException
protected java.util.Map<java.lang.String,java.lang.String> createBindings(java.util.List<Variable> childVars, int index, com.centurylink.mdw.microservice.Microservice service, boolean passDocumentContent) throws ActivityException
ActivityException
protected boolean resumeOnProcessFinish(InternalEvent msg, java.lang.Integer status) throws ActivityException
resumeOnProcessFinish
in class InvokeProcessActivityBase
ActivityException
protected boolean allSubProcessCompleted() throws ActivityException, org.apache.xmlbeans.XmlException
allSubProcessCompleted
in class InvokeProcessActivityBase
ActivityException
org.apache.xmlbeans.XmlException
protected void executeServiceSubflowsInSequence(com.centurylink.mdw.microservice.ServicePlan servicePlan) throws ActivityException
ActivityException
protected void executeServiceSubflowsInParallel(com.centurylink.mdw.microservice.ServicePlan servicePlan) throws ActivityException
ActivityException
Copyright © 2019 CenturyLink, Inc.