Interface GateBuilder
- All Known Implementing Classes:
ExplicitGateBuilder,ImplicitGateBuilder
public interface GateBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Build a gatesetGenerateButtonPositions(boolean generateButtonPositions) Whether to generate a button position.
-
Method Details
-
setGenerateButtonPositions
Whether to generate a button position. This might not be necessary for gates such as always on gates- Parameters:
generateButtonPositions-Whether to generate a button position.
- Returns:
This gate builder (convenience)
-
build
Build a gate- Returns:
A gate
- Throws:
NoFormatFoundException-If no format was found see
ImplicitGateBuilderGateConflictException-If the location of the gate to be built conflicts with another gate
InvalidStructureException-When the gate to be built does not match the format
-