public static final class LionBundle.Builder extends Object
| Constructor and Description |
|---|
Builder(String id)
Creates a builder of Lion Bundles.
|
| Modifier and Type | Method and Description |
|---|---|
LionBundle.Builder |
addItem(String key,
String value)
Adds an item to the bundle.
|
LionBundle |
build()
Builds the lion bundle from this builder instance.
|
String |
id()
Returns the bundle ID.
|
public Builder(String id)
id - the bundle's identifierpublic String id()
public LionBundle.Builder addItem(String key, String value)
key - the item keyvalue - the item valuepublic LionBundle build()