public class ExplorerModelImpl extends java.lang.Object implements ExplorerModel
Constructor and Description |
---|
ExplorerModelImpl(ArooaSession session)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Destroy this model.
|
ConsoleArchiver |
getConsoleArchiver()
Get the console archiver.
|
ContextInitialiser[] |
getContextInitialisers() |
ExplorerAction[] |
getExplorerActions() |
LogArchiver |
getLogArchiver()
Get the log archiver.
|
java.lang.String |
getLogFormat()
Getter for log format.
|
Oddjob |
getOddjob()
Get the root node for this model.
|
ThreadManager |
getThreadManager()
Get an available ThreadManager.
|
void |
setLogFormat(java.lang.String logFormat)
The log format.
|
void |
setOddjob(Oddjob rootNode)
Set the model root node.
|
void |
setThreadManager(ThreadManager threadManager)
Set the ThreadManager child actions should use.
|
public ExplorerModelImpl(ArooaSession session)
session
- The session used to load the actions.public void setOddjob(Oddjob rootNode)
rootNode
- The root node.public Oddjob getOddjob()
getOddjob
in interface ExplorerModel
public void setThreadManager(ThreadManager threadManager)
threadManager
- The ThreadManager.public ThreadManager getThreadManager()
getThreadManager
in interface ExplorerModel
public void destroy()
destroy
in interface ExplorerModel
public java.lang.String getLogFormat()
getLogFormat
in interface ExplorerModel
public void setLogFormat(java.lang.String logFormat)
logFormat
- The log format.public LogArchiver getLogArchiver()
For the archiver for a particular node use the ExplorerContext
archiver.
getLogArchiver
in interface ExplorerModel
public ConsoleArchiver getConsoleArchiver()
For the archiver for a particular node use the ExplorerContext
archiver.
getConsoleArchiver
in interface ExplorerModel
public ContextInitialiser[] getContextInitialisers()
getContextInitialisers
in interface ExplorerModel
public ExplorerAction[] getExplorerActions()
getExplorerActions
in interface ExplorerModel