Class TopologyGenerator.ProgressCallback

  • Enclosing class:
    TopologyGenerator

    public static class TopologyGenerator.ProgressCallback
    extends java.lang.Object
    Used to record the current progress of the generation.
    • Constructor Summary

      Constructors 
      Constructor Description
      ProgressCallback​(java.util.function.Consumer<java.lang.String> consumer)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void currentProgress​(java.lang.String progress)  
      void currentProgress​(java.lang.String progress, java.lang.Object... args)  
      • Methods inherited from class java.lang.Object

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

      • ProgressCallback

        public ProgressCallback​(java.util.function.Consumer<java.lang.String> consumer)
    • Method Detail

      • currentProgress

        public void currentProgress​(java.lang.String progress)
      • currentProgress

        public void currentProgress​(java.lang.String progress,
                                    java.lang.Object... args)