Class AProgressPublisher

java.lang.Object
org.xblackcat.sjpu.cli.progress.AProgressPublisher
All Implemented Interfaces:
IProgressPublisher
Direct Known Subclasses:
BytesProgressPublisher, CountProgressPublisher, MultiThreadedProgressPublisher, PercentProgressPublisher

public abstract class AProgressPublisher
extends java.lang.Object
implements IProgressPublisher
  • Field Summary

    Fields
    Modifier and Type Field Description
    protected java.util.function.Consumer<java.lang.String> output  

    Fields inherited from interface org.xblackcat.sjpu.cli.progress.IProgressPublisher

    NO_RENDERER
  • Constructor Summary

    Constructors
    Modifier Constructor Description
    protected AProgressPublisher​(java.util.function.Consumer<java.lang.String> output)  
  • Method Summary

    Modifier and Type Method Description
    void done()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.xblackcat.sjpu.cli.progress.IProgressPublisher

    publish
  • Field Details

    • output

      protected final java.util.function.Consumer<java.lang.String> output
  • Constructor Details

    • AProgressPublisher

      protected AProgressPublisher​(java.util.function.Consumer<java.lang.String> output)
  • Method Details