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