Class AssignExecutor
- java.lang.Object
-
- com.evolveum.midpoint.model.impl.scripting.actions.BaseActionExecutor
-
- com.evolveum.midpoint.model.impl.scripting.actions.AssignExecutor
-
- All Implemented Interfaces:
ActionExecutor
@Component public class AssignExecutor extends BaseActionExecutor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.evolveum.midpoint.model.impl.scripting.actions.BaseActionExecutor
BaseActionExecutor.ItemProcessor
-
-
Field Summary
-
Fields inherited from class com.evolveum.midpoint.model.impl.scripting.actions.BaseActionExecutor
actionExecutorRegistry, cacheRepositoryService, expressionFactory, expressionHelper, matchingRuleRegistry, midpointFunctions, modelService, operationsHelper, prismContext, provisioningService, relationRegistry, schemaService, scriptingExpressionEvaluator, securityContextManager, securityEnforcer, taskService
-
-
Constructor Summary
Constructors Constructor Description AssignExecutor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ObjectDelta<? extends ObjectType>
createDelta(AssignmentHolderType object, PipelineItem item, com.evolveum.midpoint.model.impl.scripting.actions.AssignExecutor.AssignParameters parameters, ExecutionContext context, OperationResult result)
PipelineData
execute(ActionExpressionType action, PipelineData input, ExecutionContext context, OperationResult globalResult)
Executes given action command.protected String
getActionName()
protected Class<AssignmentHolderType>
getObjectType()
void
init()
-
Methods inherited from class com.evolveum.midpoint.model.impl.scripting.actions.BaseActionExecutor
createVariables, exceptionSuffix
-
-
-
-
Method Detail
-
init
@PostConstruct public void init()
-
createDelta
protected ObjectDelta<? extends ObjectType> createDelta(AssignmentHolderType object, PipelineItem item, com.evolveum.midpoint.model.impl.scripting.actions.AssignExecutor.AssignParameters parameters, ExecutionContext context, OperationResult result) throws SchemaException
- Throws:
SchemaException
-
getActionName
protected String getActionName()
-
execute
public PipelineData execute(ActionExpressionType action, PipelineData input, ExecutionContext context, OperationResult globalResult) throws ScriptExecutionException, SchemaException, ConfigurationException, ObjectNotFoundException, CommunicationException, SecurityViolationException, ExpressionEvaluationException
Description copied from interface:ActionExecutor
Executes given action command.- Parameters:
action
- Command to be executed. Its parameters can be defined statically (using "new" specific subclasses in the schema) or dynamically (using "old fashioned" dynamic name-value parameters) or in a mixed style, where dynamic definitions take precedence.input
- Input data (pipeline) that the action has to be executed on.context
- Overall execution context.globalResult
- Global operation result. This is the parent result that receives subresults related to actions executions. (But individual results are stored also into the pipeline, to indicate success/failure of individual pipeline items processing.)- Throws:
ScriptExecutionException
SchemaException
ConfigurationException
ObjectNotFoundException
CommunicationException
SecurityViolationException
ExpressionEvaluationException
-
getObjectType
protected Class<AssignmentHolderType> getObjectType()
-
-