public class ParamHistoryFactoryDefault extends java.lang.Object implements ParamHistoryFactory
Constructor and Description |
---|
ParamHistoryFactoryDefault() |
Modifier and Type | Method and Description |
---|---|
ParamHistory |
getParamHistory(DynamicParamHolder paramHolder)
Get the parameter history.
|
java.util.List |
getParamsListForStation(ParamValues paramValuesObj,
Station stationObj,
GroupTable agentsTable)
Returns a list of dynamic parameters found in the given station's history
archive.
|
java.lang.String |
getVersion()
Get the version string for the factory.
|
boolean |
isStationHistoryAvail(ParamValues paramValuesObj,
Station stationObj)
Determines if history for the given station is available.
|
void |
terminate(int maxTerminateDelaySeconds)
Terminate the history saving.
|
public ParamHistory getParamHistory(DynamicParamHolder paramHolder)
ParamHistoryFactory
getParamHistory
in interface ParamHistoryFactory
paramHolder
- the parameter holder.public java.lang.String getVersion()
ParamHistoryFactory
getVersion
in interface ParamHistoryFactory
public boolean isStationHistoryAvail(ParamValues paramValuesObj, Station stationObj)
ParamHistoryFactory
isStationHistoryAvail
in interface ParamHistoryFactory
paramValuesObj
- object that implements the parameter-values
interface.stationObj
- station object for target station.public void terminate(int maxTerminateDelaySeconds)
ParamHistoryFactory
terminate
in interface ParamHistoryFactory
maxTerminateDelaySeconds
- the maximum terminate delay in seconds.public java.util.List getParamsListForStation(ParamValues paramValuesObj, Station stationObj, GroupTable agentsTable)
ParamHistoryFactory
getParamsListForStation
in interface ParamHistoryFactory
paramValuesObj
- object that implements the parameter-values
interface.stationObj
- station object for target station.agentsTable
- table of agent objects to use.