Package org.powertac.common.metadata
Class StateLogService
java.lang.Object
org.powertac.common.metadata.StateLogService
@Component public class StateLogService extends Object
Initializes state log files by copying the current domain schema to the log.
The expectation is that the init() method be called after the state log is
created, and before any log entries are added.
This service lives in the common module because this is where the metadata
resource file resides, and because the metadata in that file is derived from
this module.
- Author:
- John Collins
-
Constructor Summary
Constructors Constructor Description StateLogService() -
Method Summary
Modifier and Type Method Description voidinit()Initializes the state log by writing the log schema at the top
-
Constructor Details
-
StateLogService
public StateLogService()
-
-
Method Details
-
init
public void init()Initializes the state log by writing the log schema at the top
-