Class CommandLineInterface.MachineParam

java.lang.Object
uk.ac.manchester.spinnaker.front_end.CommandLineInterface.MachineParam
All Implemented Interfaces:
Supplier<uk.ac.manchester.spinnaker.machine.Machine>
Enclosing class:
CommandLineInterface

public static class CommandLineInterface.MachineParam
extends Object
implements Supplier<uk.ac.manchester.spinnaker.machine.Machine>
Argument handler for the <machineFile> parameter.

Do not make instances of this class yourself; leave that to picocli.

Author:
Donal Fellows
See Also:
CommandLine.ArgGroup, CommandLine.Parameters
  • Method Details

    • get

      public uk.ac.manchester.spinnaker.machine.Machine get()
      Specified by:
      get in interface Supplier<uk.ac.manchester.spinnaker.machine.Machine>
      Returns:
      The machine parsed from the named file.