|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.oddjob.webapp.model.JobInfoLookup
public class JobInfoLookup
Provide a lookup facility for job information.
Constructor Summary | |
---|---|
JobInfoLookup(IconRegistry iconRegistry,
ArooaSession session)
Constructor. |
Method Summary | |
---|---|
WebJobActions |
actionsFor(String refId)
Get the WebJobActions for a node. |
List<LogEvent> |
consoleEventsFor(String refId)
Provide a list of console LogEvents. |
void |
destroy()
Free up resources. |
int |
getJobCount()
The number of jobs cached. |
String |
getRootRefId()
Get the root reference id. |
List<LogEvent> |
logEventsFor(String refId)
Provide a list of logger LogEvents. |
NodeInfo |
nodeInfoFor(String refId)
Get NodeInfo for the given refId. |
Map<String,String> |
propertiesFor(String refId)
Get a map of properties for the properties tab. |
void |
setRoot(Object root,
ExplorerContext eContext)
Set the root node. |
StateEvent |
stateFor(String refId)
Get the last state event for the given refId. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JobInfoLookup(IconRegistry iconRegistry, ArooaSession session)
iconRegistry
- The icon registry.Method Detail |
---|
public void setRoot(Object root, ExplorerContext eContext)
root
- The root node.public String getRootRefId()
public StateEvent stateFor(String refId)
refId
- The refId.
public NodeInfo nodeInfoFor(String refId)
NodeInfo
for the given refId.
refId
- The refId.
public Map<String,String> propertiesFor(String refId)
refId
- The refId.
public List<LogEvent> consoleEventsFor(String refId)
refId
- The refId of the job.
public List<LogEvent> logEventsFor(String refId)
refId
- The refId of the job.
public WebJobActions actionsFor(String refId)
WebJobActions
for a node.
refId
-
public int getJobCount()
public void destroy()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |