Package org.powertac.factoredcustomer
Class Config
- java.lang.Object
-
- org.powertac.factoredcustomer.Config
-
public final class Config extends Object
Singleton configuration class shared by all the factored-customer types- Author:
- John Collins, Govert Buijs
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure()
Configures this instance from the given configuration service.static Config
getInstance()
Singleton accessorMap<String,Map<String,StructureInstance>>
getStructures()
Retrieves the list of configured beansList<String>
getStructureTypes()
static void
initializeInstance(ServerConfiguration configSource)
boolean
isAllocationDetailsLogging()
boolean
isCapacityDetailsLogging()
boolean
isUsageChargesLogging()
-
-
-
Method Detail
-
isAllocationDetailsLogging
public boolean isAllocationDetailsLogging()
-
isCapacityDetailsLogging
public boolean isCapacityDetailsLogging()
-
isUsageChargesLogging
public boolean isUsageChargesLogging()
-
configure
public void configure()
Configures this instance from the given configuration service.
-
getStructures
public Map<String,Map<String,StructureInstance>> getStructures()
Retrieves the list of configured beans
-
getInstance
public static Config getInstance()
Singleton accessor
-
initializeInstance
public static void initializeInstance(ServerConfiguration configSource)
-
-