public class BoaRepository
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
addComponent(BoaRepItem newComponent) |
BoaRepItemList<BoaRepItem<AcceptanceStrategy>> |
getAcceptanceConditions() |
BoaRepItemList<BoaRepItem<OfferingStrategy>> |
getBiddingStrategies() |
<T extends BOA> |
getBoaComponents(BoaType type) |
BoaRepItemList<BoaRepItem<OpponentModel>> |
getOpponentModels() |
BoaRepItemList<BoaRepItem<OMStrategy>> |
getOpponentModelStrategies() |
static BoaRepository |
loadRepository(java.io.File file) |
void |
removeComponent(BoaRepItem removed) |
void |
save()
Save this repo to
file . |
java.lang.String |
toString() |
public static BoaRepository loadRepository(java.io.File file) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public void save() throws java.io.IOException
file
. @throws IOException @throwsjava.io.IOException
public BoaRepItemList<BoaRepItem<OfferingStrategy>> getBiddingStrategies()
public BoaRepItemList<BoaRepItem<AcceptanceStrategy>> getAcceptanceConditions()
public BoaRepItemList<BoaRepItem<OpponentModel>> getOpponentModels()
public BoaRepItemList<BoaRepItem<OMStrategy>> getOpponentModelStrategies()
public java.lang.String toString()
toString
in class java.lang.Object
public void addComponent(BoaRepItem newComponent)
public void removeComponent(BoaRepItem removed)
public <T extends BOA> BoaRepItemList<BoaRepItem<T>> getBoaComponents(BoaType type)
type
- the needed BoaType