Class Configuration

java.lang.Object
repast.simphony.batch.ssh.Configuration

public class Configuration extends Object
Configuration data loaded from a config file for configuring batch run execution.
Author:
Nick Collier
  • Field Details

  • Constructor Details

  • Method Details

    • getOutputPatterns

      public List<OutputPattern> getOutputPatterns()
      Gets the output patterns for this configuration. The output patterns should be specified in "glob" format using only "/".
      Returns:
      the output patterns for this configuration.
    • getModelArchive

      public String getModelArchive()
      Gets the path to the model archive.
      Returns:
      the path to the model archive.
    • getBatchParamsFile

      public String getBatchParamsFile()
      Gets the path to the batch parameter file to use in the batch runs.
      Returns:
      the path to the batch parameter file to use in the batch runs.
    • getSSHKeyDir

      public String getSSHKeyDir()
      Gets the directory where the ssh keys for the user are located.
      Returns:
      the directory where the ssh keys for the user are located.
    • getOutputDir

      public String getOutputDir()
      Gets the directory into which the aggregated session output will be written.
      Returns:
      he directory into which the aggregated session output will be written.
    • getPollFrequency

      public float getPollFrequency()
      Gets how often, in seconds, to poll remotes to see if they are done.
      Returns:
    • getRemoteCount

      public int getRemoteCount()
      Gets the numer of specified remote locations to run the model.
      Returns:
      the numer of specified remote locations to run the model.
    • getVMArguments

      public String getVMArguments()
      Gets any arguments to pass the VM that runs the model.
      Returns:
      any arguments to pass the VM that runs the model.
    • sessions

      public Iterable<? extends Session> sessions()
      Gets an iterable over the sessions described in this Configuration.
      Returns:
      an iterable over the sessions described in this Configuration.