public abstract class VCSWaitRunnable
extends java.lang.Object
implements java.lang.Runnable
| Constructor and Description |
|---|
VCSWaitRunnable()
Constructor.
|
VCSWaitRunnable(VCSExceptionHandler exceptionHandler)
Constructor.
|
VCSWaitRunnable(VCSExceptionHandler exceptionHandler,
VCSOptionsCustomizer optionsCustomizer)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Exception |
getException()
Gets the exception thrown during the task execution, if any.
|
IndeterminateProgressMonitor |
getIndeterminateProgressMonitor()
Gets the progress monitor.
|
protected java.util.Map<?,?> |
getOptions()
Gets options from the customizer, for convenience.
|
void |
run() |
protected abstract void |
runImpl()
Performs the runnable task.
|
protected void |
runPostOperationAWT()
Performs post-operations on the AWT event thread.
|
void |
setIndeterminateProgressMonitor(IndeterminateProgressMonitor progressMonitor)
Sets the progress monitor, which will be started and closed during the task
execution.
|
VCSOptionsCustomizer |
setOptionsCustomizer()
Gets the options customizer.
|
void |
setOptionsCustomizer(VCSOptionsCustomizer optionsCustomizer)
Sets the options customizer, which will be validated before the task is run.
|
public VCSWaitRunnable()
public VCSWaitRunnable(VCSExceptionHandler exceptionHandler)
exceptionHandler - the exception handler to use.public VCSWaitRunnable(VCSExceptionHandler exceptionHandler, VCSOptionsCustomizer optionsCustomizer)
exceptionHandler - the exception handler to use.optionsCustomizer - the options customizer to validate.public void setIndeterminateProgressMonitor(IndeterminateProgressMonitor progressMonitor)
progressMonitor - the progress monitor.public IndeterminateProgressMonitor getIndeterminateProgressMonitor()
public void setOptionsCustomizer(VCSOptionsCustomizer optionsCustomizer)
optionsCustomizer - the options customizer.public VCSOptionsCustomizer setOptionsCustomizer()
public java.lang.Exception getException()
public void run()
run in interface java.lang.Runnableprotected abstract void runImpl()
throws java.lang.Exception
java.lang.Exceptionprotected void runPostOperationAWT()
throws java.lang.Exception
java.lang.Exceptionprotected final java.util.Map<?,?> getOptions()