|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServiceConfiguration
The configuration for the framework service and persistence module.
Method Summary | |
---|---|
long |
getBroadcastFrequency()
Getter for the broadcast frequency |
int |
getDBFullDeletionRecordCount()
Getter for the record count to be deleted in case of a full database ( used by the sample deletion strategy ) |
DBFullStrategyDescription |
getDBFullStrategy()
Getter for the configured Database full strategy chain |
long |
getDBFullWaitTime()
Getter for the wait time used by the wait strategy in case of a full database |
TransmissionProtocolConfiguration |
getLogTransferConfiguration()
Getter for the log transfer configuration |
long |
getMaximumDatabaseSize()
Getter for the maximum database size in bytes |
TransmissionConfiguration |
getTransmissionConfiguration()
Getter for the transmission configuration |
WeeklySchedule |
getWeeklySchedule()
Getter for the weekly runtime schedule. |
boolean |
isAddingSampleLocation()
Getter for the flag for adding a location fix to each sample |
boolean |
isBroadcastingSamples()
Getter for the flag for sample broadcasts behavior |
boolean |
isDBFullDeletionPriorityBased()
Getter for the flag database deletion strategy priority flag |
boolean |
isSamplingEnabled()
Getter for the sampling enabled state |
boolean |
isStoringSamples()
Getter for the flag for persistent storage behavior |
boolean |
isTransmittingSamples()
Getter for the transmission behavior flag |
void |
setBroadcastFrequency(Long frequency)
Setter for the broadcast frequency |
void |
setBroadcastingSamples(Boolean isBroadcastingSamples)
Setter for the flag for sample broadcasts behavior |
void |
setDBFullDeletionPriorityBased(Boolean dbFullDeletionIsPriorityBased)
Setter for the flag database deletion strategy priority flag |
void |
setDBFullDeletionRecordCount(Integer dbFullDeletionRecordCount)
Setter for the record count to be deleted in case of a full database ( used by the sample deletion strategy ) |
void |
setDBFullStrategy(DBFullStrategyDescription dbFullStrategy)
Setter for the configured database full strategy chain |
void |
setDBFullWaitTime(Long dbFullWaitTime)
Setter for the wait time used by the wait strategy in case of a full database |
void |
setIsAddingSampleLocation(Boolean isAddingSampleLocation)
Setter for the flag for adding a location fix to each sample |
void |
setLogTransferConfiguration(TransmissionProtocolConfiguration config)
Setter for the log transfer configuration |
void |
setMaximumDatabaseSize(Long maxDBSize)
Setter for the maximum database size in bytes |
void |
setSamplingEnabled(Boolean isSamplingEnabled)
Setter for the sampling enabled state |
void |
setStoringSamples(Boolean isStoringSamples)
Setter for flag for persistent storage behavior |
void |
setTransmissionConfiguration(TransmissionConfiguration config)
Setter for the transmission configuration |
void |
setTransmittingSamples(Boolean isTransmittingSamples)
Setter for the transmission behavior flag |
void |
setWeeklySchedule(WeeklySchedule schedule)
Setter for the weekly runtime schedule. |
void |
update(SDCConfiguration config)
Does update this configuration by a serializable configuration |
Methods inherited from interface de.unikassel.android.sdcframework.preferences.facade.UpdatableConfiguration |
---|
update |
Method Detail |
---|
void update(SDCConfiguration config)
config
- the serializable configuration to update fromboolean isBroadcastingSamples()
void setBroadcastingSamples(Boolean isBroadcastingSamples)
isBroadcastingSamples
- the flag for sample broadcasts to setlong getBroadcastFrequency()
void setBroadcastFrequency(Long frequency)
frequency
- the broadcast frequency to setboolean isSamplingEnabled()
void setSamplingEnabled(Boolean isSamplingEnabled)
isSamplingEnabled
- the the sampling enabled state to setboolean isAddingSampleLocation()
void setIsAddingSampleLocation(Boolean isAddingSampleLocation)
isAddingSampleLocation
- the flag for adding a location fix to each sampleboolean isStoringSamples()
void setStoringSamples(Boolean isStoringSamples)
isStoringSamples
- the flag for persistent storage behavior to setboolean isTransmittingSamples()
void setTransmittingSamples(Boolean isTransmittingSamples)
isTransmittingSamples
- the transmission behavior flag to setvoid setMaximumDatabaseSize(Long maxDBSize)
maxDBSize
- the maximum database size in byteslong getMaximumDatabaseSize()
void setDBFullWaitTime(Long dbFullWaitTime)
dbFullWaitTime
- the wait time in milliseconds to setlong getDBFullWaitTime()
void setDBFullDeletionRecordCount(Integer dbFullDeletionRecordCount)
dbFullDeletionRecordCount
- the deletion record count to setint getDBFullDeletionRecordCount()
void setDBFullDeletionPriorityBased(Boolean dbFullDeletionIsPriorityBased)
dbFullDeletionIsPriorityBased
- true if the database deletion strategy shall delete lower
priorities first, false otherwiseboolean isDBFullDeletionPriorityBased()
void setDBFullStrategy(DBFullStrategyDescription dbFullStrategy)
dbFullStrategy
- the configured database full strategy chainDBFullStrategyDescription getDBFullStrategy()
void setTransmissionConfiguration(TransmissionConfiguration config)
config
- the transmission configuration to setTransmissionConfiguration getTransmissionConfiguration()
void setLogTransferConfiguration(TransmissionProtocolConfiguration config)
config
- the log transfer configuration to setTransmissionProtocolConfiguration getLogTransferConfiguration()
void setWeeklySchedule(WeeklySchedule schedule)
schedule
- the weekly schedule configuration to set.WeeklySchedule getWeeklySchedule()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |