Class JobSpecification
java.lang.Object
uk.ac.manchester.spinnaker.nmpi.model.job.JobSpecification
The specification for a job. Can be any type of job, though the rest of this
 implementation only really supports PyNN jobs running on SpiNNaker hardware
 using sPyNNaker.
- 
Constructor SummaryConstructorsConstructorDescriptionConstructor for serialisation.JobSpecification(SpinnakerMachine machine, JobParameters parameters, int id, String url) Create the specification for running a job.
- 
Method SummaryModifier and TypeMethodDescriptionintgetId()Get the ID of the job.Get the machine to run the job on.Get the parameters of the job.getUrl()Get the URL of the job to send results and status to.voidsetId(int id) Sets the ID.voidsetMachine(SpinnakerMachine machine) Sets the machine.voidsetParameters(JobParameters parameters) Sets the parameters.voidSets the URL.
- 
Constructor Details- 
JobSpecificationpublic JobSpecification()Constructor for serialisation.
- 
JobSpecificationCreate the specification for running a job.- Parameters:
- machine- The machine to run the job on.
- parameters- The parameters to the job.
- id- The ID of the job.
- url- The URL of the job to send results and status to.
 
 
- 
- 
Method Details- 
getMachineGet the machine to run the job on.- Returns:
- the machine
 
- 
setMachineSets the machine.- Parameters:
- machine- the machine to set
 
- 
getParametersGet the parameters of the job.- Returns:
- the parameters
 
- 
setParametersSets the parameters.- Parameters:
- parameters- the parameters to set
 
- 
getIdpublic int getId()Get the ID of the job.- Returns:
- the id
 
- 
setIdpublic void setId(int id) Sets the ID.- Parameters:
- id- the id to set
 
- 
getUrlGet the URL of the job to send results and status to.- Returns:
- the URL
 
- 
setUrlSets the URL.- Parameters:
- url- the URL to set
 
 
-