Package org.drasyl.pipeline
Class VisualPipeline
- java.lang.Object
-
- org.drasyl.pipeline.VisualPipeline
-
public final class VisualPipeline extends Object
Helper class to visualize theHandler
order of a givenAbstractPipeline
.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
printInboundOrder(AbstractPipeline pipeline, int mask)
Prints the current inboundHandler
s in the sequence of execution to the console.static void
printOnlySimpleInboundHandler(AbstractPipeline pipeline, int mask)
Prints the current outboundSimpleInboundHandler
s in the sequence of execution to the console.static void
printOnlySimpleOutboundHandler(AbstractPipeline pipeline, int mask)
Prints the current outboundSimpleOutboundHandler
s in the sequence of execution to the console.static void
printOutboundOrder(AbstractPipeline pipeline, int mask)
Prints the current outboundHandler
s in the sequence of execution to the console.
-
-
-
Method Detail
-
printInboundOrder
public static void printInboundOrder(AbstractPipeline pipeline, int mask)
Prints the current inboundHandler
s in the sequence of execution to the console.- Parameters:
pipeline
- the pipeline that should be printedmask
- the handler mask that should be fulfilled
-
printOnlySimpleInboundHandler
public static void printOnlySimpleInboundHandler(AbstractPipeline pipeline, int mask)
Prints the current outboundSimpleInboundHandler
s in the sequence of execution to the console.- Parameters:
pipeline
- the pipeline that should be printedmask
- the handler mask that should be fulfilled
-
printOutboundOrder
public static void printOutboundOrder(AbstractPipeline pipeline, int mask)
Prints the current outboundHandler
s in the sequence of execution to the console.- Parameters:
pipeline
- the pipeline that should be printedmask
- the handler mask that should be fulfilled
-
printOnlySimpleOutboundHandler
public static void printOnlySimpleOutboundHandler(AbstractPipeline pipeline, int mask)
Prints the current outboundSimpleOutboundHandler
s in the sequence of execution to the console.- Parameters:
pipeline
- the pipeline that should be printedmask
- the handler mask that should be fulfilled
-
-