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 class
PipelineTraceableOutput.Builder
Builder of pipeline traceable entities.static class
PipelineTraceableOutput.PipelineTraceableResult
Represents the result of the pipeline traceable processing.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PipelineTraceableOutput.Builder
builder()
Returns a new builder.static PipelineTraceableOutput.Builder
builder(PipelineTraceableOutput pipelineTraceableOutput)
Returns a new builder initialized with the traceable output.List<PipelineTraceableHitChain>
hitChains()
Returns the hit chains.String
log()
Returns the log message as string.PipelineTraceableOutput.PipelineTraceableResult
result()
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
-
-