Package org.onosproject.net
Class PipelineTraceableOutput
- java.lang.Object
-
- org.onosproject.net.PipelineTraceableOutput
-
public final class PipelineTraceableOutput extends Object
Represents the output of the pipeline traceable processing.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPipelineTraceableOutput.BuilderBuilder of pipeline traceable entities.static classPipelineTraceableOutput.PipelineTraceableResultRepresents the result of the pipeline traceable processing.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PipelineTraceableOutput.Builderbuilder()Returns a new builder.static PipelineTraceableOutput.Builderbuilder(PipelineTraceableOutput pipelineTraceableOutput)Returns a new builder initialized with the traceable output.List<PipelineTraceableHitChain>hitChains()Returns the hit chains.Stringlog()Returns the log message as string.PipelineTraceableOutput.PipelineTraceableResultresult()Returns the result of the computation.
-
-
-
Method Detail
-
log
public String log()
Returns the log message as string.- Returns:
- the log message
-
hitChains
public List<PipelineTraceableHitChain> hitChains()
Returns the hit chains.- Returns:
- the pipeline hit chains
-
result
public PipelineTraceableOutput.PipelineTraceableResult result()
Returns the result of the computation.- Returns:
- the pipeline traceable result
-
builder
public static PipelineTraceableOutput.Builder builder()
Returns a new builder.- Returns:
- an empty builder
-
builder
public static PipelineTraceableOutput.Builder builder(PipelineTraceableOutput pipelineTraceableOutput)
Returns a new builder initialized with the traceable output.- Parameters:
pipelineTraceableOutput- the output used for the initialization- Returns:
- an initialized builder
-
-