org.ourgrid.mygrid.ui.gui
Class SimpleJobEntry

java.lang.Object
  extended by org.ourgrid.mygrid.ui.gui.SimpleJobEntry

public class SimpleJobEntry
extends java.lang.Object


Constructor Summary
SimpleJobEntry(JobEntry jobEntry)
           
 
Method Summary
 int getJobID()
           
 JobSpec getJobSpec()
           
 ExecutionStatus getState()
           
 SimpleTaskEntry getTaskByID(int id)
           
 java.util.Map<java.lang.Integer,SimpleTaskEntry> getTasks()
           
 void jobCanceled()
           
 void replicaStateChanged(ReplicaEntry replicaEntry, ExecutionStatus jobState, ExecutionStatus taskState, int numberOfTaskFails)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleJobEntry

public SimpleJobEntry(JobEntry jobEntry)
Method Detail

replicaStateChanged

public void replicaStateChanged(ReplicaEntry replicaEntry,
                                ExecutionStatus jobState,
                                ExecutionStatus taskState,
                                int numberOfTaskFails)

getJobID

public int getJobID()

getJobSpec

public JobSpec getJobSpec()

getState

public ExecutionStatus getState()

getTaskByID

public SimpleTaskEntry getTaskByID(int id)

getTasks

public java.util.Map<java.lang.Integer,SimpleTaskEntry> getTasks()

jobCanceled

public void jobCanceled()