|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.powertac.common.repo.PluginConfigRepo
@Repository public class PluginConfigRepo
Stores PluginConfig instances, allows access to the list.
| Constructor Summary | |
|---|---|
PluginConfigRepo()
|
|
| Method Summary | |
|---|---|
List<PluginConfig> |
findAllByRoleName(String role)
Returns the first config with a matching role name, if any |
List<PluginConfig> |
findAllPublic()
Returns the list of PluginConfig instances that are public information with respect to brokers. |
PluginConfig |
findByRoleName(String role)
Returns the first config with a matching role name, if any |
PluginConfig |
findMatching(PluginConfig match)
Returns the PluginConfig instance (if any) that matches the given PluginConfig by role name and name. |
List<PluginConfig> |
list()
Returns the list of instances in the repo. |
PluginConfig |
makePluginConfig(String role,
String name)
|
void |
recycle()
Clears out the repository in preparation for a new sim run. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PluginConfigRepo()
| Method Detail |
|---|
public PluginConfig makePluginConfig(String role,
String name)
public List<PluginConfig> list()
public PluginConfig findByRoleName(String role)
public List<PluginConfig> findAllByRoleName(String role)
public PluginConfig findMatching(PluginConfig match)
public List<PluginConfig> findAllPublic()
public void recycle()
recycle in interface DomainRepo
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||