@Service public class BootstrapDataRepo extends Object implements org.powertac.common.repo.DomainRepo
| Constructor and Description |
|---|
BootstrapDataRepo() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(List<Object> items)
Adds a list of objects to the repo.
|
void |
add(Object item)
Adds a single item to the repo.
|
List<Object> |
getData()
Returns the entire list of objects
|
List<Object> |
getData(Class<?> type)
Returns the list of items of a particular class
|
void |
recycle() |
public void add(Object item)
public void recycle()
recycle in interface org.powertac.common.repo.DomainRepoCopyright © 2016 Power TAC. All Rights Reserved.