public class JobInfoLookup extends Object
Constructor and Description |
---|
JobInfoLookup(IconRegistry iconRegistry,
ArooaSession session)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public JobInfoLookup(IconRegistry iconRegistry, ArooaSession session)
iconRegistry
- The icon registry.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()