Package org.jppf.client.monitoring.jobs
Class Job
java.lang.Object
org.jppf.client.monitoring.AbstractComponent<AbstractJobComponent>
org.jppf.client.monitoring.jobs.AbstractJobComponent
org.jppf.client.monitoring.jobs.Job
- All Implemented Interfaces:
Serializable
Instanes of this class represent a job as seen by a driver.
- Since:
- 5.1
- Author:
- Laurent Cohen
- See Also:
-
Field Summary
Fields inherited from class org.jppf.client.monitoring.AbstractComponent
children, parent, uuid -
Method Summary
Modifier and TypeMethodDescriptionGet a user-friendly representation of this topology component.getJobDispatch(String nodeUuid) Get the dispatch with the specified node uuid for this job.Get the job dispatches for this job.Get the driver that holds this job.org.jppf.job.JobInformationGet the information on the job.toString()Methods inherited from class org.jppf.client.monitoring.AbstractComponent
add, equals, getChild, getChildCount, getChildren, getParent, getUuid, hashCode, remove
-
Method Details
-
getJobInformation
public org.jppf.job.JobInformation getJobInformation()Get the information on the job.- Returns:
- an instance of
JobInformation.
-
getJobDriver
Get the driver that holds this job.- Returns:
- a
JobDriverinstance.
-
getJobDispatch
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
JobDispatchinstance, ornullif thiere is nu such job dispatch.
-
getJobDispatches
Get the job dispatches for this job.- Returns:
- a list of
JobDispatchinstances, possibly empty.
-
toString
-
getDisplayName
Description copied from class:AbstractComponentGet a user-friendly representation of this topology component.- Overrides:
getDisplayNamein classAbstractComponent<AbstractJobComponent>- Returns:
- a displayable string representing this object.
-