Class Job
java.lang.Object
uk.ac.manchester.spinnaker.alloc.nmpi.Job
A NMPI job.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionGet the ID of the collaboratory in which the job is created.getId()Get the ID of the job.Get the count of how much resource has been used by the job.Get the status of the job.Get the ID of the user which created the job.voidSets the collab.voidSets the id.voidsetResourceUsage(ResourceUsage resourceUsage) Sets the resourceUsage.voidSets the status.voidSets the userId.
- 
Constructor Details- 
Jobpublic Job()
 
- 
- 
Method Details- 
getIdGet the ID of the job.- Returns:
- the id
 
- 
setIdSets the id.- Parameters:
- id- the id to set
 
- 
getCollabGet the ID of the collaboratory in which the job is created.- Returns:
- the collab
 
- 
setCollabSets the collab.- Parameters:
- collab- the collab to set
 
- 
getStatusGet the status of the job.- Returns:
- the status
 
- 
setStatusSets the status.- Parameters:
- status- the status to set
 
- 
getUserIdGet the ID of the user which created the job.- Returns:
- the userId
 
- 
setUserIdSets the userId.- Parameters:
- userId- the userId to set
 
- 
getResourceUsageGet the count of how much resource has been used by the job.- Returns:
- the resourceUsage
 
- 
setResourceUsageSets the resourceUsage.- Parameters:
- resourceUsage- the resourceUsage to set
 
 
-