Class MachineDescription
java.lang.Object
uk.ac.manchester.spinnaker.alloc.model.MachineDescription
Descriptive detail for a machine. Used for HTML generation.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classInformation about a single job.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetDead()intintgetId()getJobs()getLive()getName()intgetQuota()getTags()intgetWidth()voidsetDead(List<BoardCoords> dead) voidsetDead(uk.ac.manchester.spinnaker.utils.MappableIterable<BoardCoords> dead) voidsetHeight(int height) voidsetId(int id) voidvoidsetJobs(uk.ac.manchester.spinnaker.utils.MappableIterable<MachineDescription.JobInfo> jobs) voidsetLive(List<BoardCoords> live) voidsetLive(uk.ac.manchester.spinnaker.utils.MappableIterable<BoardCoords> live) voidvoidsetNumInUse(int numInUse) voidvoidvoidvoidsetWidth(int width) 
- 
Constructor Details- 
MachineDescriptionpublic MachineDescription()
 
- 
- 
Method Details- 
getIdpublic int getId()- Returns:
- the machine ID
 
- 
setIdpublic void setId(int id) - Parameters:
- id- the machine ID
 
- 
getName- Returns:
- the machine name
 
- 
setName- Parameters:
- name- the machine name
 
- 
getWidthpublic int getWidth()- Returns:
- the width of the machine in triads
 
- 
setWidthpublic void setWidth(int width) - Parameters:
- width- the width of the machine in triads
 
- 
getHeightpublic int getHeight()- Returns:
- the height of the machine in triads
 
- 
setHeightpublic void setHeight(int height) - Parameters:
- height- the height of the machine in triads
 
- 
getNumInUsepublic int getNumInUse()- Returns:
- the number of boards in use
 
- 
setNumInUsepublic void setNumInUse(int numInUse) - Parameters:
- numInUse- the number of boards in use
 
- 
getLive- Returns:
- the in-service boards
 
- 
setLive- Parameters:
- live- the in-service boards
 
- 
setLive- Parameters:
- live- the in-service boards
 
- 
getDead- Returns:
- the out-of-service boards
 
- 
setDead- Parameters:
- dead- the out-of-service boards
 
- 
setDead- Parameters:
- dead- the out-of-service boards
 
- 
getJobs- Returns:
- the machine's jobs
 
- 
setJobs- Parameters:
- jobs- the machine's jobs
 
- 
setJobspublic void setJobs(uk.ac.manchester.spinnaker.utils.MappableIterable<MachineDescription.JobInfo> jobs) - Parameters:
- jobs- the machine's jobs
 
- 
getTags- Returns:
- the machine's tags
 
- 
setTags- Parameters:
- tags- the machine's tags
 
- 
setTags- Parameters:
- tags- the machine's tags
 
- 
getQuota- Returns:
- the quota (if that information is to be exposed to the current user and is meaningful)
 
- 
setQuota- Parameters:
- quota- the current user's quota
 
 
-