public abstract class MeasurementConfiguration extends java.lang.Object implements Configuration
Constructor and Description |
---|
MeasurementConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
checkConfiguration()
Checks the current state of the configuration.
|
java.lang.Object |
clone() |
DeviceSetting[] |
getDeviseSettingsOff() |
DeviceSetting[] |
getDeviseSettingsOn() |
int |
getMeasurementRuntime() |
java.lang.String |
getName() |
SaveSettingsConfiguration |
getSaveSettings()
Returns the definition how the measurement should be saved.
|
void |
setDeviseSettingsOff(DeviceSetting[] deviseSettingsOff) |
void |
setDeviseSettingsOn(DeviceSetting[] deviseSettingsOn) |
void |
setMeasurementRuntime(int measurementRuntime) |
void |
setName(java.lang.String name) |
void |
setSaveSettings(SaveSettingsConfiguration saveSettings)
Defines how the measurement should be saved.
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getTypeIdentifier
public java.lang.String getName()
public void setName(java.lang.String name)
name
- the name to setpublic int getMeasurementRuntime()
public void setMeasurementRuntime(int measurementRuntime)
measurementRuntime
- the measurementRuntime to setpublic DeviceSetting[] getDeviseSettingsOn()
public void setDeviseSettingsOn(DeviceSetting[] deviseSettingsOn)
deviseSettingsOn
- the deviseSettingsOn to setpublic DeviceSetting[] getDeviseSettingsOff()
public void setDeviseSettingsOff(DeviceSetting[] deviseSettingsOff)
deviseSettingsOff
- the deviseSettingsOff to setpublic java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public void setSaveSettings(SaveSettingsConfiguration saveSettings)
saveSettings
- Definition how the measurement should be saved.public SaveSettingsConfiguration getSaveSettings()
public void checkConfiguration() throws ConfigurationException
Configuration
ConfigurationException
is thrown describing the error, and what has to be changed in the configuration, by the user,
such that it becomes valid. This error can then e.g. be displayed to the user
(see ConfigurationAddonTools.displayConfigurationInvalid(ConfigurationException, YouScopeClient).checkConfiguration
in interface Configuration
ConfigurationException