Class Job
java.lang.Object
uk.ac.manchester.spinnaker.alloc.nmpi.Job
A NMPI job.
-
Constructor Summary
Constructors -
Method Summary
Modifier 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.void
Sets the collab.void
Sets the id.void
setResourceUsage
(ResourceUsage resourceUsage) Sets the resourceUsage.void
Sets the status.void
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
-