Package org.jboss.windup.bootstrap
Class ConsoleProgressMonitor
- java.lang.Object
-
- org.jboss.windup.bootstrap.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 Summary
Constructors Constructor Description ConsoleProgressMonitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbeginTask(String name, int totalWork)voiddone()booleanisCancelled()voidsetCancelled(boolean cancelled)voidsetTaskName(String name)voidsubTask(String subTask)voidworked(int work)
-
-
-
Method Detail
-
beginTask
public void beginTask(String name, int totalWork)
- Specified by:
beginTaskin interfaceorg.jboss.windup.exec.WindupProgressMonitor
-
done
public void done()
- Specified by:
donein interfaceorg.jboss.windup.exec.WindupProgressMonitor
-
isCancelled
public boolean isCancelled()
- Specified by:
isCancelledin interfaceorg.jboss.windup.exec.WindupProgressMonitor
-
setCancelled
public void setCancelled(boolean cancelled)
- Specified by:
setCancelledin interfaceorg.jboss.windup.exec.WindupProgressMonitor
-
setTaskName
public void setTaskName(String name)
- Specified by:
setTaskNamein interfaceorg.jboss.windup.exec.WindupProgressMonitor
-
subTask
public void subTask(String subTask)
- Specified by:
subTaskin interfaceorg.jboss.windup.exec.WindupProgressMonitor
-
worked
public void worked(int work)
- Specified by:
workedin interfaceorg.jboss.windup.exec.WindupProgressMonitor
-
-