Class MachineDescription.JobInfo
java.lang.Object
uk.ac.manchester.spinnaker.alloc.model.MachineDescription.JobInfo
- Enclosing class:
- MachineDescription
public static class MachineDescription.JobInfo extends Object
Information about a single job.
-
Constructor Summary
Constructors Constructor Description JobInfo()
-
Method Summary
Modifier and Type Method Description List<BoardCoords>
getBoards()
int
getId()
Optional<String>
getOwner()
Optional<URI>
getUrl()
void
setBoards(List<BoardCoords> boards)
void
setBoards(uk.ac.manchester.spinnaker.utils.MappableIterable<BoardCoords> boards)
void
setId(int id)
void
setOwner(String owner)
void
setUrl(URI url)
-
Constructor Details
-
JobInfo
public JobInfo()
-
-
Method Details
-
getId
public int getId()- Returns:
- the job ID
-
setId
public void setId(int id)- Parameters:
id
- the job ID
-
getUrl
- Returns:
- the URL for more detail
-
setUrl
- Parameters:
url
- the URL for more detail
-
getBoards
- Returns:
- the board coordinates of all boards allocated to the job
-
setBoards
- Parameters:
boards
- the board coordinates of all boards allocated to the job
-
setBoards
- Parameters:
boards
- the board coordinates of all boards allocated to the job
-
getOwner
- Returns:
- the owner (if that information is to be exposed)
-
setOwner
- Parameters:
owner
- the owner of the job
-