org.powertac.accounting
Class AccountingInitializationService

java.lang.Object
  extended by org.powertac.accounting.AccountingInitializationService
All Implemented Interfaces:
org.powertac.common.interfaces.InitializationService

@Service
public class AccountingInitializationService
extends Object
implements org.powertac.common.interfaces.InitializationService

Pre-game initialization for the accounting service

Author:
John Collins

Constructor Summary
AccountingInitializationService()
           
 
Method Summary
 double getMaxInterest()
           
 double getMinInterest()
           
 String initialize(org.powertac.common.Competition competition, List<String> completedInits)
           
 void setDefaults()
           
 AccountingInitializationService setMaxInterest(double maxInterest)
           
 AccountingInitializationService setMinInterest(double minInterest)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccountingInitializationService

public AccountingInitializationService()
Method Detail

setDefaults

public void setDefaults()
Specified by:
setDefaults in interface org.powertac.common.interfaces.InitializationService

initialize

public String initialize(org.powertac.common.Competition competition,
                         List<String> completedInits)
Specified by:
initialize in interface org.powertac.common.interfaces.InitializationService

getMinInterest

public double getMinInterest()

setMinInterest

public AccountingInitializationService setMinInterest(double minInterest)

getMaxInterest

public double getMaxInterest()

setMaxInterest

public AccountingInitializationService setMaxInterest(double maxInterest)


Copyright © 2011 Power TAC. All Rights Reserved.