g-Eclipse
Release 1.0.0

eu.geclipse.ui.views.jobdetails
Class GridJobDetailsFactory

java.lang.Object
  extended by eu.geclipse.ui.views.jobdetails.GridJobDetailsFactory
All Implemented Interfaces:
IJobDetailsFactory

public class GridJobDetailsFactory
extends java.lang.Object
implements IJobDetailsFactory


Constructor Summary
GridJobDetailsFactory()
           
 
Method Summary
 java.util.List<IJobDetail> getDetails(IGridJob gridJob, JobDetailSectionsManager sectionManager)
          Returns details, which potentially can be obtained from passed gridJob.
 boolean shouldUpdateJobStatus(IGridJob gridJob)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GridJobDetailsFactory

public GridJobDetailsFactory()
Method Detail

getDetails

public java.util.List<IJobDetail> getDetails(IGridJob gridJob,
                                             JobDetailSectionsManager sectionManager)
Description copied from interface: IJobDetailsFactory
Returns details, which potentially can be obtained from passed gridJob. Potentially means, it's possible to get this value from passed gridJob, but returned value can be null.

Specified by:
getDetails in interface IJobDetailsFactory
Parameters:
gridJob - job, for which details should be returned
sectionManager - manages sections, on which details are grouped
Returns:
All details which can be shown for passed gridJob

shouldUpdateJobStatus

public boolean shouldUpdateJobStatus(IGridJob gridJob)
Specified by:
shouldUpdateJobStatus in interface IJobDetailsFactory
Parameters:
gridJob - job, which details are shown in the view
Returns:
true if all details for gridJob aren't available and job status update should be scheduled

g-Eclipse
Release 1.0.0