Class Job

All Implemented Interfaces:
Serializable

public class Job extends AbstractJobComponent
Instanes of this class represent a job as seen by a driver.
Since:
5.1
Author:
Laurent Cohen
See Also:
  • Method Details

    • getJobInformation

      public org.jppf.job.JobInformation getJobInformation()
      Get the information on the job.
      Returns:
      an instance of JobInformation.
    • getJobDriver

      public JobDriver getJobDriver()
      Get the driver that holds this job.
      Returns:
      a JobDriver instance.
    • getJobDispatch

      public JobDispatch getJobDispatch(String nodeUuid)
      Get the dispatch with the specified node uuid for this job.
      Parameters:
      nodeUuid - the uuid of the node of the dispatch to retrieve.
      Returns:
      a JobDispatch instance, or null if thiere is nu such job dispatch.
    • getJobDispatches

      public List<JobDispatch> getJobDispatches()
      Get the job dispatches for this job.
      Returns:
      a list of JobDispatch instances, possibly empty.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getDisplayName

      public String getDisplayName()
      Description copied from class: AbstractComponent
      Get a user-friendly representation of this topology component.
      Overrides:
      getDisplayName in class AbstractComponent<AbstractJobComponent>
      Returns:
      a displayable string representing this object.