org.powertac.server
Class ServerPropertiesService
java.lang.Object
org.powertac.server.ServerPropertiesService
- All Implemented Interfaces:
- org.powertac.common.interfaces.ServerProperties
@Service
public class ServerPropertiesService
- extends Object
- implements org.powertac.common.interfaces.ServerProperties
Implementation of the ServerProperties interface.
- Author:
- jcollins
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServerPropertiesService
public ServerPropertiesService()
- Default constructor
setUserConfig
public void setUserConfig(String userConfigFile)
getProperty
public String getProperty(String name)
- Specified by:
getProperty in interface org.powertac.common.interfaces.ServerProperties
getProperty
public String getProperty(String name,
String defaultValue)
- Specified by:
getProperty in interface org.powertac.common.interfaces.ServerProperties
getIntegerProperty
public Integer getIntegerProperty(String name,
Integer defaultValue)
- Specified by:
getIntegerProperty in interface org.powertac.common.interfaces.ServerProperties
getDoubleProperty
public Double getDoubleProperty(String name,
Double defaultValue)
- Specified by:
getDoubleProperty in interface org.powertac.common.interfaces.ServerProperties
Copyright © 2011 Power TAC. All Rights Reserved.