public abstract class BaseAddEmrStep extends BaseJavaDelegate
| Modifier and Type | Field and Description |
|---|---|
protected org.activiti.engine.delegate.Expression |
accountId |
protected org.activiti.engine.delegate.Expression |
continueOnError |
protected org.activiti.engine.delegate.Expression |
emrClusterDefinitionName |
protected org.activiti.engine.delegate.Expression |
emrClusterId |
protected org.activiti.engine.delegate.Expression |
emrClusterName |
protected org.activiti.engine.delegate.Expression |
namespace |
protected org.activiti.engine.delegate.Expression |
scriptArguments |
protected org.activiti.engine.delegate.Expression |
scriptLocation |
protected org.activiti.engine.delegate.Expression |
stepName |
static String |
VARIABLE_EMR_STEP_ID |
activitiHelper, activitiRuntimeHelper, activitiService, configurationDaoHelper, daoHelper, herdStringHelper, jobDefinitionDao, jobDefinitionDaoHelper, jobDefinitionHelper, jsonHelper, userNamespaceAuthorizationHelper, VARIABLE_JSON_RESPONSE, xmlHelper| Constructor and Description |
|---|
BaseAddEmrStep() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addEmrStepAndSetWorkflowVariables(Object request,
org.activiti.engine.delegate.DelegateExecution execution)
Adds the Step to EMR cluster, and sets the step id as workflow variable.
|
protected String |
getAccountId(org.activiti.engine.delegate.DelegateExecution execution) |
protected boolean |
getContinueOnError(org.activiti.engine.delegate.DelegateExecution execution)
Gets the continueOnError value from the DelegateExecution
|
protected String |
getEmrClusterDefinitionName(org.activiti.engine.delegate.DelegateExecution execution)
Gets the emr cluster definition name from the DelegateExecution
|
protected String |
getEmrClusterId(org.activiti.engine.delegate.DelegateExecution execution)
Gets the EMR cluster ID
|
protected String |
getEmrClusterName(org.activiti.engine.delegate.DelegateExecution execution)
Gets the cluster name from the DelegateExecution
|
protected String |
getNamespace(org.activiti.engine.delegate.DelegateExecution execution)
Gets the namespace from the DelegateExecution
|
protected List<String> |
getScriptArguments(org.activiti.engine.delegate.DelegateExecution execution)
Gets the script arguments from the DelegateExecution, delimited and escaped as a list.
|
protected String |
getScriptLocation(org.activiti.engine.delegate.DelegateExecution execution)
Gets the scriptLocation from the DelegateExecution
|
protected String |
getStepName(org.activiti.engine.delegate.DelegateExecution execution)
Gets the step name from the DelegateExecution
|
protected void |
populateCommonParams(Object request,
org.activiti.engine.delegate.DelegateExecution execution)
Populates common parameters.
|
execute, executeImpl, getApplicationUser, getRequestObject, handleException, isSpringInitialized, logInputParameters, logTaskExecutionTime, setJsonResponseAsWorkflowVariable, setJsonResponseAsWorkflowVariable, setSecurityContext, setSpringInitialized, setTaskWorkflowVariable, setTaskWorkflowVariablepublic static final String VARIABLE_EMR_STEP_ID
protected org.activiti.engine.delegate.Expression namespace
protected org.activiti.engine.delegate.Expression emrClusterDefinitionName
protected org.activiti.engine.delegate.Expression emrClusterName
protected org.activiti.engine.delegate.Expression stepName
protected org.activiti.engine.delegate.Expression continueOnError
protected org.activiti.engine.delegate.Expression scriptLocation
protected org.activiti.engine.delegate.Expression scriptArguments
protected org.activiti.engine.delegate.Expression emrClusterId
protected org.activiti.engine.delegate.Expression accountId
protected void addEmrStepAndSetWorkflowVariables(Object request, org.activiti.engine.delegate.DelegateExecution execution) throws Exception
request - the EmrStepsAddRequestexecution - the DelegateExecutionException - if any problems were encountered.protected String getNamespace(org.activiti.engine.delegate.DelegateExecution execution)
execution - the DelegateExecutionprotected String getEmrClusterDefinitionName(org.activiti.engine.delegate.DelegateExecution execution)
execution - the DelegateExecutionprotected String getEmrClusterName(org.activiti.engine.delegate.DelegateExecution execution)
execution - the DelegateExecutionprotected String getStepName(org.activiti.engine.delegate.DelegateExecution execution)
execution - the DelegateExecutionprotected boolean getContinueOnError(org.activiti.engine.delegate.DelegateExecution execution)
execution - the DelegateExecutionprotected String getScriptLocation(org.activiti.engine.delegate.DelegateExecution execution)
execution - the DelegateExecutionprotected List<String> getScriptArguments(org.activiti.engine.delegate.DelegateExecution execution)
execution - the DelegateExecutionprotected String getEmrClusterId(org.activiti.engine.delegate.DelegateExecution execution)
execution - The delegate executionprotected String getAccountId(org.activiti.engine.delegate.DelegateExecution execution)
protected void populateCommonParams(Object request, org.activiti.engine.delegate.DelegateExecution execution)
request - the request.execution - the delegate execution.Copyright © 2021. All rights reserved.