Class WhereIs.Builder
java.lang.Object
uk.ac.manchester.spinnaker.spalloc.messages.WhereIs.Builder
- Enclosing class:
- WhereIs
Builder for
WhereIs.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build an instance of the immutableWhereIs.voidsetBoardChip(ChipLocation boardChip) voidsetChip(ChipLocation chip) voidsetJobChip(ChipLocation jobChip) voidvoidsetLogical(BoardCoordinates logical) voidsetMachine(String machine) voidsetPhysical(BoardPhysicalCoordinates physical)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setJobChip
- Parameters:
jobChip- The chip location relative to the job's allocation.
-
setJobId
- Parameters:
jobId- The job id.
-
setChip
- Parameters:
chip- The absolute chip location.
-
setLogical
- Parameters:
logical- The logical coordinates of the board.
-
setMachine
- Parameters:
machine- The name of the machine.
-
setBoardChip
- Parameters:
boardChip- The chip location relative to its board.
-
setPhysical
- Parameters:
physical- The physical coordinates of the board.
-
build
Build an instance of the immutableWhereIs.- Returns:
- The instance.
-