Package org.apache.uima.tools.jcasgen
Class UimaLoggerProgressMonitor
- java.lang.Object
-
- org.apache.uima.tools.jcasgen.UimaLoggerProgressMonitor
-
- All Implemented Interfaces:
IProgressMonitor
public class UimaLoggerProgressMonitor extends java.lang.Object implements IProgressMonitor
The Class UimaLoggerProgressMonitor.
-
-
Constructor Summary
Constructors Constructor Description UimaLoggerProgressMonitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
beginTask(java.lang.String name, int totalWork)
Begin task.void
done()
Done.void
internalWorked(double work)
Internal worked.boolean
isCanceled()
Checks if is canceled.void
setCanceled(boolean value)
Sets the canceled.void
setTaskName(java.lang.String name)
Sets the task name.void
subTask(java.lang.String message)
Sub task.void
worked(int work)
Worked.
-
-
-
Method Detail
-
beginTask
public void beginTask(java.lang.String name, int totalWork)
Description copied from interface:IProgressMonitor
Begin task.- Specified by:
beginTask
in interfaceIProgressMonitor
- Parameters:
name
- the nametotalWork
- the total worked
-
done
public void done()
Description copied from interface:IProgressMonitor
Done.- Specified by:
done
in interfaceIProgressMonitor
-
subTask
public void subTask(java.lang.String message)
Description copied from interface:IProgressMonitor
Sub task.- Specified by:
subTask
in interfaceIProgressMonitor
- Parameters:
message
- the name
-
worked
public void worked(int work)
Description copied from interface:IProgressMonitor
Worked.- Specified by:
worked
in 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
public void setTaskName(java.lang.String name)
Sets the task name.- Parameters:
name
- the new task name
-
-