java.lang.Object
uk.ac.manchester.spinnaker.nmpi.machinemanager.responses.Machine

public class Machine
extends Object
Describes a machine by its name, tags, width and height.
  • Constructor Details

  • Method Details

    • getName

      public String getName()
      Get the name of the machine.
      Returns:
      The name of the machine
    • setName

      public void setName​(String name)
      Set the name of the machine.
      Parameters:
      name - The name of the machine to set
    • getTags

      public List<String> getTags()
      Get the tags associated with the machine.
      Returns:
      The tags
    • setTags

      public void setTags​(List<String> tags)
      Set the tags associated with the machine.
      Parameters:
      tags - The tags to set
    • getWidth

      public int getWidth()
      Get the width of the machine.
      Returns:
      The width in chips
    • setWidth

      public void setWidth​(int width)
      Set the width of the machine.
      Parameters:
      width - The width in chips
    • getHeight

      public int getHeight()
      Get the height of the machine.
      Returns:
      The height in chips
    • setHeight

      public void setHeight​(int height)
      Set the height of the machine.
      Parameters:
      height - The height in chips