java.lang.Object
uk.ac.manchester.spinnaker.nmpi.model.job.nmpi.Job

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

    • Job

      public Job()
  • Method Details

    • getCode

      public String getCode()
      Get the code to be executed.
      Returns:
      the code
    • setCode

      public void setCode​(String code)
      Sets the code.
      Parameters:
      code - the code to set
    • getHardwareConfig

      public Map<String,​Object> getHardwareConfig()
      Get the hardware configuration.
      Returns:
      the hardwareConfig
    • setHardwareConfig

      public void setHardwareConfig​(Map<String,​Object> hardwareConfig)
      Sets the hardwareConfig.
      Parameters:
      hardwareConfig - the hardwareConfig to set
    • getHardwarePlatform

      public String getHardwarePlatform()
      Get the hardware platform.
      Returns:
      the hardwarePlatform
    • setHardwarePlatform

      public void setHardwarePlatform​(String hardwarePlatform)
      Sets the hardwarePlatform.
      Parameters:
      hardwarePlatform - the hardwarePlatform to set
    • 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
    • getInputData

      public List<DataItem> getInputData()
      Get the URLs of input data.
      Returns:
      the inputData
    • setInputData

      public void setInputData​(List<DataItem> inputData)
      Sets the inputData.
      Parameters:
      inputData - the inputData 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
    • getCommand

      public String getCommand()
      Get the command used to execute the job.
      Returns:
      the command
    • setCommand

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

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

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