Class PipelineData
java.lang.Object
com.evolveum.midpoint.model.impl.scripting.PipelineData
- All Implemented Interfaces:
- 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) enriched with some additional information,
 see 
PipelineItem.- 
Field SummaryFields inherited from interface com.evolveum.midpoint.util.DebugDumpableINDENT_STRING
- 
Method SummaryModifier and TypeMethodDescriptionvoidadd(@NotNull PipelineItem pipelineItem) voidaddAllFrom(PipelineData otherData) voidaddValue(PrismValue value, VariablesMap variables) voidaddValue(PrismValue value, OperationResult result, VariablesMap variables) static @NotNull PipelineDatacreate(@NotNull PrismValue value, @NotNull VariablesMap variables) static @NotNull PipelineDatadebugDump(int indent) @NotNull List<PipelineItem>getData()@NotNull List<ObjectReferenceType>getDataAsReferences(QName defaultTargetType, Class<? extends ObjectType> typeForQuery, ExecutionContext context, OperationResult result) Returns the pipeline content as a list of references.<T> TgetSingleValue(Class<T> clazz) static @NotNull OperationResultstatic PipelineDataTypeprepareXmlData(List<PipelineItem> output, ScriptingExpressionEvaluationOptionsType options) toString()Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.util.DebugDumpabledebugDump, debugDumpLazily, debugDumpLazily
- 
Method Details- 
getData
- 
create@NotNull public static @NotNull PipelineData create(@NotNull @NotNull PrismValue value, @NotNull @NotNull VariablesMap variables) 
- 
createEmpty
- 
newOperationResult
- 
add
- 
addAllFrom
- 
addValue
- 
addValue
- 
getSingleValue- Throws:
- SchemaException
 
- 
getDataAsReferences@NotNull public @NotNull List<ObjectReferenceType> getDataAsReferences(QName defaultTargetType, Class<? extends ObjectType> typeForQuery, ExecutionContext context, OperationResult result) throws CommunicationException, ObjectNotFoundException, SchemaException, SecurityViolationException, ConfigurationException, ExpressionEvaluationException Returns the pipeline content as a list of references. Objects, PRVs, OIDs are converted directly to references. Search filters and queries are evaluated first. This is a legacy method and its use should be avoided.
- 
debugDump- Specified by:
- debugDumpin interface- DebugDumpable
 
- 
prepareXmlDatapublic static PipelineDataType prepareXmlData(List<PipelineItem> output, ScriptingExpressionEvaluationOptionsType options) 
- 
toString
 
-