public interface DeviceSettingJob extends Job, TableConsumer
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_TYPE_IDENTIFIER
The type identifier of the default implementation of this job.
|
Modifier and Type | Method and Description |
---|---|
void |
addDeviceSetting(java.lang.String device,
java.lang.String property,
java.lang.String value)
Adds a new device setting.
|
void |
clearDeviceSettings()
Removes all settings.
|
DeviceSetting[] |
getDeviceSettings()
Returns the device settings made when job runs.
|
void |
setDeviceSettings(DeviceSetting[] settings)
Sets the device settings made when job runs.
|
addJobListener, executeJob, initializeJob, removeJobListener, uninitializeJob
addMessageListener, getName, getPositionInformation, getUUID, removeMessageListener, setName
consumeTable, getConsumedTableDefinition
static final java.lang.String DEFAULT_TYPE_IDENTIFIER
DeviceSetting[] getDeviceSettings() throws java.rmi.RemoteException
java.rmi.RemoteException
void setDeviceSettings(DeviceSetting[] settings) throws java.rmi.RemoteException, MeasurementRunningException
settings
- List of device settings.java.rmi.RemoteException
MeasurementRunningException
void clearDeviceSettings() throws java.rmi.RemoteException, MeasurementRunningException
java.rmi.RemoteException
MeasurementRunningException
void addDeviceSetting(java.lang.String device, java.lang.String property, java.lang.String value) throws java.rmi.RemoteException, MeasurementRunningException
device
- Name of the device.property
- Name of the device's property.value
- Value to set device's property to.java.rmi.RemoteException
MeasurementRunningException