public abstract class AbstractJobProcessor extends java.lang.Object implements JobProcessor
Modifier and Type | Class and Description |
---|---|
static interface |
AbstractJobProcessor.Retryable |
static class |
AbstractJobProcessor.State |
JobProcessor.JobProcessorException, JobProcessor.TextStatusListener
PropertySheetHolder.PropertySheet
Modifier and Type | Field and Description |
---|---|
protected java.util.List<JobProcessor.TextStatusListener> |
textStatusListeners |
Constructor and Description |
---|
AbstractJobProcessor() |
Modifier and Type | Method and Description |
---|---|
void |
addTextStatusListener(JobProcessor.TextStatusListener listener) |
protected void |
fireJobState(java.util.List<Signaler> signalers,
AbstractJobProcessor.State state) |
protected void |
fireTextStatus(java.lang.String format,
java.lang.Object... params) |
PropertySheetHolder[] |
getChildPropertySheetHolders() |
Wizard |
getConfigurationWizard()
Gets a Wizard that can be used to configure this object.
|
javax.swing.Action[] |
getPropertySheetHolderActions() |
javax.swing.Icon |
getPropertySheetHolderIcon() |
java.lang.String |
getPropertySheetHolderTitle() |
PropertySheetHolder.PropertySheet[] |
getPropertySheets() |
void |
removeTextStatusListener(JobProcessor.TextStatusListener listener) |
static void |
retry(int maxTries,
AbstractJobProcessor.Retryable r)
Call the Retryable's action method until it either does not throw an Exception or it is
called maxTries number of times.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
abort, initialize, isSteppingToNextMotion, next
protected java.util.List<JobProcessor.TextStatusListener> textStatusListeners
public java.lang.String getPropertySheetHolderTitle()
getPropertySheetHolderTitle
in interface PropertySheetHolder
public PropertySheetHolder[] getChildPropertySheetHolders()
getChildPropertySheetHolders
in interface PropertySheetHolder
public javax.swing.Action[] getPropertySheetHolderActions()
getPropertySheetHolderActions
in interface PropertySheetHolder
public PropertySheetHolder.PropertySheet[] getPropertySheets()
getPropertySheets
in interface PropertySheetHolder
public javax.swing.Icon getPropertySheetHolderIcon()
getPropertySheetHolderIcon
in interface PropertySheetHolder
public Wizard getConfigurationWizard()
WizardConfigurable
getConfigurationWizard
in interface WizardConfigurable
public void addTextStatusListener(JobProcessor.TextStatusListener listener)
addTextStatusListener
in interface JobProcessor
public void removeTextStatusListener(JobProcessor.TextStatusListener listener)
removeTextStatusListener
in interface JobProcessor
protected void fireTextStatus(java.lang.String format, java.lang.Object... params)
protected void fireJobState(java.util.List<Signaler> signalers, AbstractJobProcessor.State state)
public static void retry(int maxTries, AbstractJobProcessor.Retryable r) throws java.lang.Exception
maxTries
- r
- java.lang.Exception