public class MultiExplorerLauncher extends StructuralJob<Runnable> implements Stoppable
OddjobExplorer
s 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, stop
configure, getName, logger, logger, loggerName, save, setName, toString
addIconListener, addPropertyChangeListener, addStateListener, configure, destroy, firePropertyChange, getArooaSession, iconForId, initialise, lastStateEvent, onConfigured, onInitialised, removeIconListener, removePropertyChangeListener, removeStateListener, save, setArooaContext, setArooaSession
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addStateListener, lastStateEvent, removeStateListener
protected StateOperator getInitialStateOp()
StructuralJob
StateOperator
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
StructuralJob
execute
in class StructuralJob<Runnable>
InterruptedException
protected void startChildStateReflector()
StructuralJob
startChildStateReflector
in class StructuralJob<Runnable>
protected void onReset()
StructuralJob
onReset
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)