Class CountProgressPublisher

java.lang.Object
org.xblackcat.sjpu.cli.progress.AProgressPublisher
org.xblackcat.sjpu.cli.progress.CountProgressPublisher
All Implemented Interfaces:
IProgressPublisher

public class CountProgressPublisher
extends AProgressPublisher
  • Field Summary

    Fields inherited from class org.xblackcat.sjpu.cli.progress.AProgressPublisher

    output

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

    NO_RENDERER
  • Constructor Summary

    Constructors
    Constructor Description
    CountProgressPublisher​(java.util.function.Consumer<java.lang.String> output, long total)  
  • Method Summary

    Modifier and Type Method Description
    void publish​(long current)  

    Methods inherited from class org.xblackcat.sjpu.cli.progress.AProgressPublisher

    done

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CountProgressPublisher

      public CountProgressPublisher​(java.util.function.Consumer<java.lang.String> output, long total)
  • Method Details

    • publish

      public void publish​(long current)