Class JobMachineInfo
java.lang.Object
uk.ac.manchester.spinnaker.nmpi.machinemanager.responses.JobMachineInfo
public class JobMachineInfo extends Object
A description of a machine associated with a job, in terms of width, height,
connections and its name.
-
Constructor Summary
Constructors Constructor Description JobMachineInfo()
-
Method Summary
Modifier and Type Method Description List<Connection>
getConnections()
Get the connections to the machine.int
getHeight()
Get the height of the machine.String
getMachineName()
Get the name of the machine.int
getWidth()
Get the width of the machine.void
setConnections(List<Connection> connections)
Set the connection to the machine.void
setHeight(int height)
Set the height of the machine.void
setMachineName(String machineName)
Set the name of the machine.void
setWidth(int width)
Set the width of the machine.
-
Constructor Details
-
JobMachineInfo
public JobMachineInfo()
-
-
Method Details
-
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
-
getConnections
Get the connections to the machine.- Returns:
- The connections
-
setConnections
Set the connection to the machine.- Parameters:
connections
- The connections to set
-
getMachineName
Get the name of the machine.- Returns:
- The name
-
setMachineName
Set the name of the machine.- Parameters:
machineName
- The name to set
-