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 Details

  • Method Details

    • getId

      public int getId()
      Returns:
      the job ID
    • setId

      public void setId​(int id)
      Parameters:
      id - the job ID
    • getUrl

      public Optional<URI> getUrl()
      Returns:
      the URL for more detail
    • setUrl

      public void setUrl​(URI url)
      Parameters:
      url - the URL for more detail
    • getBoards

      public List<BoardCoords> getBoards()
      Returns:
      the board coordinates of all boards allocated to the job
    • setBoards

      public void setBoards​(List<BoardCoords> boards)
      Parameters:
      boards - the board coordinates of all boards allocated to the job
    • setBoards

      public void setBoards​(MappableIterable<BoardCoords> boards)
      Parameters:
      boards - the board coordinates of all boards allocated to the job
    • getOwner

      public Optional<String> getOwner()
      Returns:
      the owner (if that information is to be exposed)
    • setOwner

      public void setOwner​(String owner)
      Parameters:
      owner - the owner of the job