org.oddjob.monitor
Class MultiExplorerLauncher
java.lang.Object
org.oddjob.framework.BaseComponent
org.oddjob.framework.BasePrimary
org.oddjob.framework.StructuralJob<Runnable>
org.oddjob.monitor.MultiExplorerLauncher
- All Implemented Interfaces:
- Serializable, Runnable, ArooaContextAware, Forceable, PropertyChangeNotifier, Iconic, LogEnabled, Resetable, Stateful, Stoppable, Structural
public class MultiExplorerLauncher
- extends StructuralJob<Runnable>
- implements Stoppable
Description
A container that allows multiple OddjobExplorers to run.
This is the default job that Oddjob runs on startup.- See Also:
- Serialized Form
- Author:
- rob
| Methods inherited from class org.oddjob.framework.StructuralJob |
addStructuralListener, fireDestroyedState, force, getStateChanger, hardReset, onDestroy, onStop, removeStructuralListener, run, softReset, startChildStateReflector, stateHandler, stop |
| Methods inherited from class org.oddjob.framework.BaseComponent |
addIconListener, addPropertyChangeListener, addStateListener, configure, destroy, firePropertyChange, getArooaSession, iconForId, initialise, lastStateEvent, onConfigured, onInitialised, removeIconListener, removePropertyChangeListener, removeStateListener, save, setArooaContext, setArooaSession |
MultiExplorerLauncher
public MultiExplorerLauncher()
- Default constructor.
getStateOp
protected StateOperator getStateOp()
- Specified by:
getStateOp in class StructuralJob<Runnable>
setOddjobServices
@Inject
public void setOddjobServices(OddjobServices oddjobServices)
execute
protected void execute()
throws InterruptedException
- Description copied from class:
StructuralJob
- Execute this job.
- Specified by:
execute in class StructuralJob<Runnable>
- Throws:
InterruptedException
onReset
protected void onReset()
- Description copied from class:
StructuralJob
- Allow sub classes to do something on reset.
- Overrides:
onReset in class StructuralJob<Runnable>
getDir
public File getDir()
setDir
public void setDir(File dir)
getFile
public File getFile()
- Returns:
- the file
setFile
public void setFile(File file)
getPollingInterval
public long getPollingInterval()
setPollingInterval
public void setPollingInterval(long pollingInterval)
getFileHistorySize
public int getFileHistorySize()
setFileHistorySize
public void setFileHistorySize(int fileHistorySize)
Property: fileHistorySize
Description: How many lines to keep in file history.
Required: No.
getLogFormat
public String getLogFormat()
setLogFormat
public void setLogFormat(String logFormat)