Class PipelineData
- java.lang.Object
-
- com.evolveum.midpoint.model.impl.scripting.PipelineData
-
- All Implemented Interfaces:
DebugDumpable
public class PipelineData extends Object implements DebugDumpable
Data that are passed between individual scripting actions. The content passed between actions (expressions) is a list of prism values (object, container, reference, property).- Author:
- mederly
-
-
Field Summary
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(PipelineItem pipelineItem)
void
addAllFrom(PipelineData otherData)
void
addValue(PrismValue value, VariablesMap variables)
void
addValue(PrismValue value, OperationResult result, VariablesMap variables)
PipelineData
cloneMutableState()
static PipelineData
create(PrismValue value)
static PipelineData
create(PrismValue value, VariablesMap variables)
static PipelineData
createEmpty()
String
debugDump()
Show the content of the object intended for diagnostics by system administrator.String
debugDump(int indent)
List<PipelineItem>
getData()
Collection<ObjectReferenceType>
getDataAsReferences(QName defaultTargetType, Class<? extends ObjectType> typeForQuery, ExecutionContext context, OperationResult result)
String
getDataAsSingleString()
static OperationResult
newOperationResult()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDumpLazily, debugDumpLazily
-
-
-
-
Method Detail
-
getData
public List<PipelineItem> getData()
-
debugDump
public String debugDump()
Description copied from interface:DebugDumpable
Show the content of the object intended for diagnostics by system administrator. The out put should be suitable to use in system logs at "debug" level. It may be multi-line, but in that case it should be well indented and quite terse. As it is intended to be used by system administrator, it should not use any developer terms such as class names, exceptions or stack traces.- Specified by:
debugDump
in interfaceDebugDumpable
- Returns:
- content of the object intended for diagnostics by system administrator.
-
debugDump
public String debugDump(int indent)
- Specified by:
debugDump
in interfaceDebugDumpable
-
create
public static PipelineData create(PrismValue value)
-
create
public static PipelineData create(PrismValue value, VariablesMap variables)
-
newOperationResult
public static OperationResult newOperationResult()
-
add
public void add(@NotNull PipelineItem pipelineItem)
-
createEmpty
public static PipelineData createEmpty()
-
addAllFrom
public void addAllFrom(PipelineData otherData)
-
addValue
public void addValue(PrismValue value, VariablesMap variables)
-
addValue
public void addValue(PrismValue value, OperationResult result, VariablesMap variables)
-
getDataAsSingleString
public String getDataAsSingleString() throws ScriptExecutionException
- Throws:
ScriptExecutionException
-
getDataAsReferences
public Collection<ObjectReferenceType> getDataAsReferences(QName defaultTargetType, Class<? extends ObjectType> typeForQuery, ExecutionContext context, OperationResult result) throws ScriptExecutionException, CommunicationException, ObjectNotFoundException, SchemaException, SecurityViolationException, ConfigurationException, ExpressionEvaluationException
-
cloneMutableState
public PipelineData cloneMutableState()
-
-