Class WhereIs.Builder
java.lang.Object
uk.ac.manchester.spinnaker.spalloc.messages.WhereIs.Builder
- Enclosing class:
- WhereIs
public static class WhereIs.Builder extends Object
Builder for
WhereIs
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description WhereIs
build()
Build an instance of the immutableWhereIs
.void
setBoardChip(ChipLocation boardChip)
void
setChip(ChipLocation chip)
void
setJobChip(ChipLocation jobChip)
void
setJobId(Integer jobId)
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.
-