public class DeviceJobConfiguration extends JobConfiguration implements TableConsumerConfiguration
Constructor and Description |
---|
DeviceJobConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
checkConfiguration()
Checks the current state of the configuration.
|
DeviceJobConfiguration |
clone() |
TableDefinition |
getConsumedTableDefinition()
Returns a information about the layout of the tables which are consumed by the TableConsumer, e.g.
|
java.lang.String |
getDescription()
Returns a short description of this job.
|
DeviceSetting[] |
getDeviceSettings()
Returns the device settings which should be activated by the job.
|
java.lang.String |
getTypeIdentifier()
Returns a unique identifier for this configuration type.
|
void |
setDeviceSettings(DeviceSetting... deviceSettings)
Sets the device settings which should be activated by the job.
|
toString
public java.lang.String getDescription()
JobConfiguration
getDescription
in class JobConfiguration
public DeviceJobConfiguration clone()
clone
in class JobConfiguration
public void setDeviceSettings(DeviceSetting... deviceSettings) throws java.lang.NullPointerException
deviceSettings
- Device settings which should be set when job is activated.java.lang.NullPointerException
- Thrown if deviceSettings is null, or element of deviceSettings is null.public DeviceSetting[] getDeviceSettings()
public java.lang.String getTypeIdentifier()
Configuration
getTypeIdentifier
in interface Configuration
public TableDefinition getConsumedTableDefinition()
TableConsumerConfiguration
getConsumedTableDefinition
in interface TableConsumerConfiguration
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
checkConfiguration
in class JobConfiguration
ConfigurationException