public class MultiExplorerLauncher extends StructuralJob<Runnable> implements Stoppable
OddjobExplorers to run.
This is the default job that Oddjob runs on startup.childHelper, childStateReflector, destroy, stop, structuralState| Constructor and Description |
|---|
MultiExplorerLauncher()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
execute()
Execute this job.
|
File |
getDir() |
File |
getFile() |
int |
getFileHistorySize() |
protected StateOperator |
getInitialStateOp()
Subclasses must provide the
StateOperator that will decide
how to evaluate the children's state. |
String |
getLogFormat() |
long |
getPollingInterval() |
protected void |
onReset()
Allow sub classes to do something on reset.
|
void |
setDir(File dir) |
void |
setFile(File file) |
void |
setFileHistorySize(int fileHistorySize) |
void |
setLogFormat(String logFormat) |
void |
setOddjobServices(OddjobServices oddjobServices) |
void |
setPollingInterval(long pollingInterval) |
protected void |
startChildStateReflector()
Start the child state reflector.
|
addStructuralListener, fireDestroyedState, force, getStateChanger, hardReset, iconHelper, isStop, onDestroy, onHardReset, onSoftReset, onStop, removeStructuralListener, run, softReset, stateHandler, stopconfigure, getName, logger, logger, loggerName, save, setName, toStringaddIconListener, addPropertyChangeListener, addStateListener, configure, destroy, firePropertyChange, getArooaSession, iconForId, initialise, lastStateEvent, onConfigured, onInitialised, removeIconListener, removePropertyChangeListener, removeStateListener, save, setArooaContext, setArooaSessionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddStateListener, lastStateEvent, removeStateListenerprotected StateOperator getInitialStateOp()
StructuralJobStateOperator that will decide
how to evaluate the children's state.getInitialStateOp in class StructuralJob<Runnable>@Inject public void setOddjobServices(OddjobServices oddjobServices)
protected void execute()
throws InterruptedException
StructuralJobexecute in class StructuralJob<Runnable>InterruptedExceptionprotected void startChildStateReflector()
StructuralJobstartChildStateReflector in class StructuralJob<Runnable>protected void onReset()
StructuralJobonReset in class StructuralJob<Runnable>public File getDir()
public void setDir(File dir)
public File getFile()
public void setFile(File file)
public long getPollingInterval()
public void setPollingInterval(long pollingInterval)
public int getFileHistorySize()
public void setFileHistorySize(int fileHistorySize)
Property: fileHistorySize
Description: How many lines to keep in file history.
Required: No.
public String getLogFormat()
public void setLogFormat(String logFormat)