public abstract class AbstractAttributeStoreBuilder<T extends AttributeStore,B extends AttributeStoreBuilder<T>> extends Object implements AttributeStoreBuilder<T>
| Modifier and Type | Field and Description |
|---|---|
protected Collection<Attribute> |
attributes |
| Constructor and Description |
|---|
AbstractAttributeStoreBuilder() |
| Modifier and Type | Method and Description |
|---|---|
B |
attr(Attribute attribute) |
B |
attr(String key,
Object val) |
B |
attr(String key,
Object val,
Map<String,String> meta) |
B |
attrs(Iterable<? extends Attribute> attributes) |
abstract T |
build() |
protected Collection<Attribute> attributes
public B attr(String key, Object val)
attr in interface AttributeStoreBuilder<T extends AttributeStore>public B attr(String key, Object val, Map<String,String> meta)
attr in interface AttributeStoreBuilder<T extends AttributeStore>public B attr(Attribute attribute)
attr in interface AttributeStoreBuilder<T extends AttributeStore>public B attrs(Iterable<? extends Attribute> attributes)
attrs in interface AttributeStoreBuilder<T extends AttributeStore>public abstract T build()
build in interface AttributeStoreBuilder<T extends AttributeStore>Copyright © 2018 Calrissian. All rights reserved.