Package org.apache.uima.tools.jcasgen
Class UimaLoggerProgressMonitor
java.lang.Object
org.apache.uima.tools.jcasgen.UimaLoggerProgressMonitor
- All Implemented Interfaces:
IProgressMonitor
The Class UimaLoggerProgressMonitor.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidBegin task.voiddone()Done.voidinternalWorked(double work) Internal worked.booleanChecks if is canceled.voidsetCanceled(boolean value) Sets the canceled.voidsetTaskName(String name) Sets the task name.voidSub task.voidworked(int work) Worked.
-
Constructor Details
-
UimaLoggerProgressMonitor
public UimaLoggerProgressMonitor()
-
-
Method Details
-
beginTask
Description copied from interface:IProgressMonitorBegin task.- Specified by:
beginTaskin interfaceIProgressMonitor- Parameters:
name- the nametotalWork- the total worked
-
done
public void done()Description copied from interface:IProgressMonitorDone.- Specified by:
donein interfaceIProgressMonitor
-
subTask
Description copied from interface:IProgressMonitorSub task.- Specified by:
subTaskin interfaceIProgressMonitor- Parameters:
message- the name
-
worked
public void worked(int work) Description copied from interface:IProgressMonitorWorked.- Specified by:
workedin interfaceIProgressMonitor- Parameters:
work- the work
-
internalWorked
public void internalWorked(double work) Internal worked.- Parameters:
work- the work
-
isCanceled
public boolean isCanceled()Checks if is canceled.- Returns:
- true, if is canceled
-
setCanceled
public void setCanceled(boolean value) Sets the canceled.- Parameters:
value- the new canceled
-
setTaskName
Sets the task name.- Parameters:
name- the new task name
-