Class ConsoleProgressMonitor

  • All Implemented Interfaces:
    org.jboss.windup.exec.WindupProgressMonitor

    public class ConsoleProgressMonitor
    extends Object
    implements org.jboss.windup.exec.WindupProgressMonitor
    Implements basic progress monitoring behavior for the Windup command.
    Author:
    Jesse Sightler
    • Constructor Detail

      • ConsoleProgressMonitor

        public ConsoleProgressMonitor()
    • Method Detail

      • beginTask

        public void beginTask​(String name,
                              int totalWork)
        Specified by:
        beginTask in interface org.jboss.windup.exec.WindupProgressMonitor
      • done

        public void done()
        Specified by:
        done in interface org.jboss.windup.exec.WindupProgressMonitor
      • isCancelled

        public boolean isCancelled()
        Specified by:
        isCancelled in interface org.jboss.windup.exec.WindupProgressMonitor
      • setCancelled

        public void setCancelled​(boolean cancelled)
        Specified by:
        setCancelled in interface org.jboss.windup.exec.WindupProgressMonitor
      • setTaskName

        public void setTaskName​(String name)
        Specified by:
        setTaskName in interface org.jboss.windup.exec.WindupProgressMonitor
      • subTask

        public void subTask​(String subTask)
        Specified by:
        subTask in interface org.jboss.windup.exec.WindupProgressMonitor
      • worked

        public void worked​(int work)
        Specified by:
        worked in interface org.jboss.windup.exec.WindupProgressMonitor