Class PyNNJobParameters

java.lang.Object
uk.ac.manchester.spinnaker.nmpi.model.job.pynn.PyNNJobParameters
All Implemented Interfaces:
JobParameters

public class PyNNJobParameters
extends Object
implements JobParameters
Represents the parameters required for a PyNN job.
  • Constructor Details

    • PyNNJobParameters

      public PyNNJobParameters()
      Create an empty parameters for serialisation.
    • PyNNJobParameters

      public 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

    • getWorkingDirectory

      public String getWorkingDirectory()
      Get the workingDirectory.
      Returns:
      the workingDirectory
    • setWorkingDirectory

      public void setWorkingDirectory​(String workingDirectory)
      Sets the workingDirectory.
      Parameters:
      workingDirectory - the workingDirectory to set
    • getSetupScript

      public String getSetupScript()
      Get the setup script.
      Returns:
      the script
    • setSetupScript

      public void setSetupScript​(String setupScript)
      Set the setup script.
      Parameters:
      setupScript - the script
    • getUserScript

      public String getUserScript()
      Get the user script.
      Returns:
      the script
    • setUserScript

      public void setUserScript​(String userScript)
      Sets the user script.
      Parameters:
      userScript - the script to set
    • getHardwareConfiguration

      public Map<String,​Object> getHardwareConfiguration()
      Get the hardwareConfiguration.
      Returns:
      the hardwareConfiguration
    • setHardwareConfiguration

      public void setHardwareConfiguration​(Map<String,​Object> hardwareConfiguration)
      Sets the hardwareConfiguration.
      Parameters:
      hardwareConfiguration - the hardwareConfiguration to set