Class OpNode
- java.lang.Object
-
- com.evolveum.midpoint.schema.traces.OpNode
-
- Direct Known Subclasses:
AbstractChangeExecutionOpNode
,AbstractMappingEvaluationOpNode
,AssignmentEvaluationOpNode
,AssignmentSegmentEvaluationOpNode
,ChangeExecutionDeltaOpNode
,ClockworkClickOpNode
,ClockworkRunOpNode
,FocusRepositoryLoadOpNode
,FullProjectionLoadOpNode
,ItemConsolidationOpNode
,LinkUnlinkShadowOpNode
,PolicyConstraintEvaluationOpNode
,PolicyRuleEvaluationOpNode
,ProjectionActivationOpNode
,ProjectorComponentOpNode
,RepositoryOpNode
,ResourceObjectConstructionEvaluationOpNode
,TransformationExpressionEvaluationOpNode
,UpdateShadowSituationOpNode
,ValueTupleTransformationOpNode
@Experimental public class OpNode extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected List<OpNode>
children
protected OpResultInfo
info
protected OperationResultType
result
-
Constructor Summary
Constructors Constructor Description OpNode(PrismContext prismContext, OperationResultType result, OpResultInfo info, OpNode parent, TraceInfo traceInfo)
-
Method Summary
-
-
-
Field Detail
-
result
protected final OperationResultType result
-
info
protected final OpResultInfo info
-
-
Constructor Detail
-
OpNode
public OpNode(PrismContext prismContext, OperationResultType result, OpResultInfo info, OpNode parent, TraceInfo traceInfo)
-
-
Method Detail
-
getResult
public OperationResultType getResult()
-
getPerformance
public OperationsPerformanceInformationType getPerformance()
-
getPerformanceByCategory
public Map<PerformanceCategory,PerformanceCategoryInfo> getPerformanceByCategory()
-
getType
public OpType getType()
-
getKind
public OperationKindType getKind()
-
getParent
public OpNode getParent()
-
getStart
public long getStart(long base)
-
dump
public String dump()
-
getFirstTrace
public TraceType getFirstTrace()
-
getOperationQualified
public String getOperationQualified()
-
getLabel
public String getLabel()
-
getToolTip
public String getToolTip()
-
getOperationNameFormatted
public String getOperationNameFormatted()
-
getClockworkState
public String getClockworkState()
-
getExecutionWave
public String getExecutionWave()
-
getProjectionWave
public String getProjectionWave()
-
getTrace
public <T> T getTrace(Class<T> aClass)
-
getTraceUpwards
public <T> T getTraceUpwards(Class<T> aClass)
-
getTraceDownwards
public <T> T getTraceDownwards(Class<T> aClass)
-
getTraceDownwards
public <T> T getTraceDownwards(Class<T> aClass, int maxLevel)
-
getNodesDownwards
public <T extends OpNode> List<T> getNodesDownwards(Class<T> aClass, int maxLevel)
-
isVisible
public boolean isVisible()
-
setVisible
public void setVisible(boolean visible)
-
applyVisualizationInstructions
public void applyVisualizationInstructions(@NotNull @NotNull TraceVisualizationInstructionsType instructions)
-
applyOptions
public void applyOptions(Options options)
-
getImportanceSymbol
public String getImportanceSymbol()
-
getContextToView
public LensContextType getContextToView()
-
getObjectsToView
public List<ViewedObject> getObjectsToView()
-
processContext
public List<ViewedObject> processContext(LensContextType ctx)
-
getResultComment
public String getResultComment()
-
getResultComment
public static String getResultComment(OperationResultType result)
-
getLogEntriesCount
public int getLogEntriesCount()
-
getTraceInfo
public TraceInfo getTraceInfo()
-
getOverhead
public Double getOverhead()
-
getOverhead2
public Double getOverhead2()
-
getVisualizationInstruction
public TraceVisualizationInstructionType getVisualizationInstruction()
-
getGenericVisualization
public GenericTraceVisualizationType getGenericVisualization()
-
getDataSelection
public TraceDataSelectionType getDataSelection()
-
getFocusName
public String getFocusName()
-
isShowInvocationId
public boolean isShowInvocationId()
-
isShowDurationBefore
public boolean isShowDurationBefore()
-
isShowDurationAfter
public boolean isShowDurationAfter()
-
getInvocationId
public Long getInvocationId()
-
getMillisecondsFormatted
public String getMillisecondsFormatted()
-
getMilliseconds
public Double getMilliseconds()
-
getCountColumns
public List<PerformanceCategory> getCountColumns()
-
getTimeColumns
public List<PerformanceCategory> getTimeColumns()
-
getCounts
public List<org.apache.commons.lang3.tuple.Pair<PerformanceCategory,PerformanceCategoryInfo>> getCounts()
-
getTimes
public List<org.apache.commons.lang3.tuple.Pair<PerformanceCategory,PerformanceCategoryInfo>> getTimes()
-
showTotals
public boolean showTotals()
-
getClickNumber
public Integer getClickNumber()
-
getMappingsCount
public int getMappingsCount()
-
getAssignmentEvaluationsCount
public Integer getAssignmentEvaluationsCount()
-
getPresentation
public OpNodePresentation getPresentation()
-
setPresentation
public void setPresentation(OpNodePresentation presentation)
-
resolveReferenceTargetNames
public void resolveReferenceTargetNames(OpNodeTreeBuilder.NameResolver nameResolver)
-
isDisabled
public boolean isDisabled()
-
setDisabled
public void setDisabled(boolean disabled)
-
postProcessRecursive
public final void postProcessRecursive()
-
postProcess
protected void postProcess()
-
-