Class Job
java.lang.Object
uk.ac.manchester.spinnaker.alloc.nmpi.Job
public class Job extends Object
A NMPI job.
-
Constructor Summary
Constructors Constructor Description Job()
-
Method Summary
Modifier and Type Method Description String
getCollab()
Get the ID of the collaboratory in which the job is created.Integer
getId()
Get the ID of the job.ResourceUsage
getResourceUsage()
Get the count of how much resource has been used by the job.String
getStatus()
Get the status of the job.String
getUserId()
Get the ID of the user which created the job.void
setCollab(String collab)
Sets the collab.void
setId(Integer id)
Sets the id.void
setResourceUsage(ResourceUsage resourceUsage)
Sets the resourceUsage.void
setStatus(String status)
Sets the status.void
setUserId(String userId)
Sets the userId.
-
Constructor Details
-
Job
public Job()
-
-
Method Details
-
getId
Get the ID of the job.- Returns:
- the id
-
setId
Sets the id.- Parameters:
id
- the id to set
-
getCollab
Get the ID of the collaboratory in which the job is created.- Returns:
- the collab
-
setCollab
Sets the collab.- Parameters:
collab
- the collab to set
-
getStatus
Get the status of the job.- Returns:
- the status
-
setStatus
Sets the status.- Parameters:
status
- the status to set
-
getUserId
Get the ID of the user which created the job.- Returns:
- the userId
-
setUserId
Sets the userId.- Parameters:
userId
- the userId to set
-
getResourceUsage
Get the count of how much resource has been used by the job.- Returns:
- the resourceUsage
-
setResourceUsage
Sets the resourceUsage.- Parameters:
resourceUsage
- the resourceUsage to set
-