Class PyNNJobProcess
java.lang.Object
uk.ac.manchester.spinnaker.nmpiexec.jobprocess.PyNNJobProcess
- All Implemented Interfaces:
- JobProcess<PyNNJobParameters>
A process for running PyNN jobs.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidcleanup()Clean up the process after exit.voidexecute(String machineUrl, SpinnakerMachine machine, PyNNJobParameters parameters, LogWriter logWriter) Executes the process.getError()Get the process error.Get the outputs of the process.Get the provenance of the process.Get the status of the process.
- 
Constructor Details- 
PyNNJobProcesspublic PyNNJobProcess()
 
- 
- 
Method Details- 
executepublic void execute(String machineUrl, SpinnakerMachine machine, PyNNJobParameters parameters, LogWriter logWriter) Executes the process.- Specified by:
- executein interface- JobProcess<PyNNJobParameters>
- Parameters:
- machineUrl- The URL to request a machine using (or- nullif machine is given)
- machine- The machine to execute the job on (or- nullif a URL is given)
- parameters- The parameters of the job
- logWriter- Somewhere to write logs to
 
- 
getStatusGet the status of the process.- Specified by:
- getStatusin interface- JobProcess<PyNNJobParameters>
- Returns:
- The status
 
- 
getErrorGet the process error.- Specified by:
- getErrorin interface- JobProcess<PyNNJobParameters>
- Returns:
- An error, or nullif no error
 
- 
getOutputsGet the outputs of the process.- Specified by:
- getOutputsin interface- JobProcess<PyNNJobParameters>
- Returns:
- A list of output files.
 
- 
getProvenanceGet the provenance of the process.- Specified by:
- getProvenancein interface- JobProcess<PyNNJobParameters>
- Returns:
- A list of provenance items to add
 
- 
cleanuppublic void cleanup()Clean up the process after exit.- Specified by:
- cleanupin interface- JobProcess<PyNNJobParameters>
 
 
-