Package org.hyperonline.hyperlib.auto
Class AutonomousInfo.Builder
- java.lang.Object
-
- org.hyperonline.hyperlib.auto.AutonomousInfo.Builder
-
- Enclosing class:
- AutonomousInfo
public static class AutonomousInfo.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AutonomousInfo.Builder
addDefault(AutonomousStrategy strat)
AutonomousInfo.Builder
addStrategy(AutonomousStrategy strat)
AutonomousInfo
build()
-
-
-
Method Detail
-
addStrategy
public AutonomousInfo.Builder addStrategy(AutonomousStrategy strat)
- Parameters:
strat
- strategy to add- Returns:
- {Builder}
-
addDefault
public AutonomousInfo.Builder addDefault(AutonomousStrategy strat)
- Parameters:
strat
- strategy to set as the default- Returns:
- {Builder}
-
build
public AutonomousInfo build()
- Returns:
- {AutonomousInfo}
-
-