Class Job
java.lang.Object
uk.ac.manchester.spinnaker.nmpi.model.job.nmpi.Job
A NMPI job.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetCode()Get the code to be executed.Get the ID of the collaboratory in which the job is created.Get the command used to execute the job.Get the hardware configuration.Get the hardware platform.getId()Get the ID of the job.Get the URLs of input data.Get the ID of the user who created the job.voidSets the code.voidSets the collab.voidsetCommand(String command) Sets the command.voidsetHardwareConfig(Map<String, Object> hardwareConfig) Sets the hardwareConfig.voidsetHardwarePlatform(String hardwarePlatform) Sets the hardwarePlatform.voidSets the id.voidsetInputData(List<DataItem> inputData) Sets the inputData.voidSets the userId.
- 
Constructor Details- 
Jobpublic Job()
 
- 
- 
Method Details- 
getCodeGet the code to be executed.- Returns:
- the code
 
- 
setCodeSets the code.- Parameters:
- code- the code to set
 
- 
getHardwareConfigGet the hardware configuration.- Returns:
- the hardwareConfig
 
- 
setHardwareConfigSets the hardwareConfig.- Parameters:
- hardwareConfig- the hardwareConfig to set
 
- 
getHardwarePlatformGet the hardware platform.- Returns:
- the hardwarePlatform
 
- 
setHardwarePlatformSets the hardwarePlatform.- Parameters:
- hardwarePlatform- the hardwarePlatform to set
 
- 
getIdGet the ID of the job.- Returns:
- the id
 
- 
setIdSets the id.- Parameters:
- id- the id to set
 
- 
getInputDataGet the URLs of input data.- Returns:
- the inputData
 
- 
setInputDataSets the inputData.- Parameters:
- inputData- the inputData 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
 
- 
getCommandGet the command used to execute the job.- Returns:
- the command
 
- 
setCommandSets the command.- Parameters:
- command- the command to set
 
- 
getUserIdGet the ID of the user who created the job.- Returns:
- the userId
 
- 
setUserIdSets the userId.- Parameters:
- userId- the userId to set
 
 
-