Class PyNNJobParameters
java.lang.Object
uk.ac.manchester.spinnaker.nmpi.model.job.pynn.PyNNJobParameters
- All Implemented Interfaces:
- JobParameters
Represents the parameters required for a PyNN job.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionGet the hardwareConfiguration.Get the setup script.Get the user script.Get the workingDirectory.voidsetHardwareConfiguration(Map<String, Object> hardwareConfiguration) Sets the hardwareConfiguration.voidsetSetupScript(String setupScript) Set the setup script.voidsetUserScript(String userScript) Sets the user script.voidsetWorkingDirectory(String workingDirectory) Sets the workingDirectory.
- 
Constructor Details- 
PyNNJobParameterspublic PyNNJobParameters()Create an empty parameters for serialisation.
- 
PyNNJobParameterspublic PyNNJobParameters(String workingDirectory, String setupScript, String userScript, Map<String, Object> hardwareConfiguration) Create a description of the job parameters for a PyNN job.- Parameters:
- workingDirectory- The working directory to use.
- setupScript- The setup script to run before execution
- userScript- The user script to run.
- hardwareConfiguration- The hardware configuration desired.
 
 
- 
- 
Method Details- 
getWorkingDirectoryGet the workingDirectory.- Returns:
- the workingDirectory
 
- 
setWorkingDirectorySets the workingDirectory.- Parameters:
- workingDirectory- the workingDirectory to set
 
- 
getSetupScriptGet the setup script.- Returns:
- the script
 
- 
setSetupScriptSet the setup script.- Parameters:
- setupScript- the script
 
- 
getUserScriptGet the user script.- Returns:
- the script
 
- 
setUserScriptSets the user script.- Parameters:
- userScript- the script to set
 
- 
getHardwareConfigurationGet the hardwareConfiguration.- Returns:
- the hardwareConfiguration
 
- 
setHardwareConfigurationSets the hardwareConfiguration.- Parameters:
- hardwareConfiguration- the hardwareConfiguration to set
 
 
-