public class MultiExplorerLauncher extends StructuralJob<java.lang.Runnable> implements Stoppable
OddjobExplorers to run.
This is the default job that Oddjob runs on startup.
childHelper, destroy, stop, structuralState| Modifier | Constructor and Description |
|---|---|
|
MultiExplorerLauncher()
Default constructor.
|
protected |
MultiExplorerLauncher(FileHistory fileHistory,
ScreenPresence screen)
Used by custom deserialization.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
execute()
Execute this job.
|
java.io.File |
getDir() |
java.io.File |
getFile() |
int |
getFileHistorySize() |
protected StateOperator |
getInitialStateOp()
Subclasses must provide the
StateOperator that will decide
how to evaluate the children's state. |
java.lang.String |
getLogFormat() |
long |
getPollingInterval() |
protected void |
onReset()
Allow sub classes to do something on reset.
|
void |
setDir(java.io.File dir) |
void |
setFile(java.io.File file) |
void |
setFileHistorySize(int fileHistorySize) |
void |
setLogFormat(java.lang.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, postStop, removeStructuralListener, run, softReset, stateHandler, stop, stopChildStateReflector, waitForChildrenOnStopconfigure, 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, removeStateListenerpublic MultiExplorerLauncher()
protected MultiExplorerLauncher(FileHistory fileHistory, ScreenPresence screen)
protected StateOperator getInitialStateOp()
StructuralJobStateOperator that will decide
how to evaluate the children's state.getInitialStateOp in class StructuralJob<java.lang.Runnable>@Inject public void setOddjobServices(OddjobServices oddjobServices)
protected void execute()
throws java.lang.InterruptedException
StructuralJobexecute in class StructuralJob<java.lang.Runnable>java.lang.InterruptedExceptionprotected void startChildStateReflector()
StructuralJobstartChildStateReflector in class StructuralJob<java.lang.Runnable>protected void onReset()
StructuralJobonReset in class StructuralJob<java.lang.Runnable>public java.io.File getDir()
public void setDir(java.io.File dir)
public java.io.File getFile()
public void setFile(java.io.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 java.lang.String getLogFormat()
public void setLogFormat(java.lang.String logFormat)