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
.void
setBoardChip
(ChipLocation boardChip) void
setChip
(ChipLocation chip) void
setJobChip
(ChipLocation jobChip) void
void
setLogical
(BoardCoordinates logical) void
setMachine
(String machine) void
setPhysical
(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.
-