java.lang.Object
uk.ac.manchester.spinnaker.alloc.nmpi.Job

public class Job
extends Object
A NMPI job.
  • Constructor Details

    • Job

      public Job()
  • Method Details

    • getId

      public Integer getId()
      Get the ID of the job.
      Returns:
      the id
    • setId

      public void setId​(Integer id)
      Sets the id.
      Parameters:
      id - the id to set
    • getCollab

      public String getCollab()
      Get the ID of the collaboratory in which the job is created.
      Returns:
      the collab
    • setCollab

      public void setCollab​(String collab)
      Sets the collab.
      Parameters:
      collab - the collab to set
    • getStatus

      public String getStatus()
      Get the status of the job.
      Returns:
      the status
    • setStatus

      public void setStatus​(String status)
      Sets the status.
      Parameters:
      status - the status to set
    • getUserId

      public String getUserId()
      Get the ID of the user which created the job.
      Returns:
      the userId
    • setUserId

      public void setUserId​(String userId)
      Sets the userId.
      Parameters:
      userId - the userId to set
    • getResourceUsage

      public ResourceUsage getResourceUsage()
      Get the count of how much resource has been used by the job.
      Returns:
      the resourceUsage
    • setResourceUsage

      public void setResourceUsage​(ResourceUsage resourceUsage)
      Sets the resourceUsage.
      Parameters:
      resourceUsage - the resourceUsage to set