public abstract static class BMWorldSetup.BMWorldSetupBuilder extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,Integer> |
bands |
protected String |
setupName |
| Constructor and Description |
|---|
BMWorldSetupBuilder(String setupName) |
| Modifier and Type | Method and Description |
|---|---|
void |
addBand(String nameOfBand,
int numberOfLicenses)
Define new Band which should be generated in the model
|
abstract BMWorldSetup |
build() |
Map<String,Integer> |
getBands()
See
BMWorldSetup.bands() for the purpose of this parameter |
String |
getSetupName()
See
BMWorldSetup.getSetupName() for the purpose of this parameter |
boolean |
removeBand(String nameOfBand)
Remove a band, such that it will not be created.
|
void |
setSetupName(String setupName)
See
BMWorldSetup.getSetupName() for the purpose of this parameter |
public BMWorldSetupBuilder(String setupName)
public void addBand(String nameOfBand, int numberOfLicenses)
public boolean removeBand(String nameOfBand)
nameOfBand - the name of the bandpublic Map<String,Integer> getBands()
BMWorldSetup.bands() for the purpose of this parameterpublic String getSetupName()
BMWorldSetup.getSetupName() for the purpose of this parameterpublic void setSetupName(String setupName)
BMWorldSetup.getSetupName() for the purpose of this parameterpublic abstract BMWorldSetup build()
Copyright © 2017. All rights reserved.