Class ExecutionContext
java.lang.Object
com.evolveum.midpoint.model.impl.scripting.ExecutionContext
Context of a command execution.
-
Constructor Summary
ConstructorDescriptionExecutionContext
(ScriptingExpressionEvaluationOptionsType options, Task task, BulkActionsExecutor bulkActionsExecutor, @NotNull BulkActionExecutionOptions executionOptions, VariablesMap initialVariables, @NotNull ExpressionProfile expressionProfile) -
Method Summary
Modifier and TypeMethodDescriptionboolean
canRun()
void
@NotNull ExpressionProfile
getGlobalVariable
(String name) getTask()
boolean
boolean
boolean
void
void
setFinalOutput
(PipelineData finalOutput) void
setGlobalVariable
(String name, PipelineData value)
-
Constructor Details
-
ExecutionContext
public ExecutionContext(ScriptingExpressionEvaluationOptionsType options, Task task, BulkActionsExecutor bulkActionsExecutor, @NotNull @NotNull BulkActionExecutionOptions executionOptions, VariablesMap initialVariables, @NotNull @NotNull ExpressionProfile expressionProfile)
-
-
Method Details
-
getTask
-
getOptions
-
isContinueOnAnyError
public boolean isContinueOnAnyError() -
isHideOperationResults
public boolean isHideOperationResults() -
getGlobalVariable
-
setGlobalVariable
-
getInitialVariables
-
getConsoleOutput
-
println
-
getFinalOutput
-
setFinalOutput
-
isRecordProgressAndIterationStatistics
public boolean isRecordProgressAndIterationStatistics() -
toExecutionResult
-
getChannel
-
canRun
public boolean canRun() -
checkTaskStop
public void checkTaskStop() -
getModelService
-
getPrismContext
-
getQueryConverter
-
getExpressionProfile
-
getExecutionPhase
-