public class NemesysJobConfiguration extends JobConfiguration implements TableConsumerConfiguration, TableProducerConfiguration
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SCRIPT_ENGINE_TIMETABLE
Script engine name representing that the script to control the syringes is a simple time-table, for which an own interpreter is written.
|
static java.lang.String |
TYPE_IDENTIFIER
The identifier for this measurement type.
|
Constructor and Description |
---|
NemesysJobConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
checkConfiguration()
Checks the current state of the configuration.
|
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.
|
java.lang.String |
getNemesysDevice()
Returns the ID of the Nemesys device which should be controlled, or null if yet not set.
|
TableDefinition |
getProducedTableDefinition()
Returns the definition of the table layout of the tables produced by this producer, e.g.
|
java.lang.String |
getScript()
Returns the script which controls the syringes, i.e.
|
java.lang.String |
getScriptEngine()
Returns the name of the script engine with which the script should be executed.
|
java.lang.String |
getTableSaveName()
Returns the name (without extension) of the file to which the flow rate and volume information of the syringe pumps should be stored during evaluation.
|
java.lang.String |
getTypeIdentifier()
Returns a unique identifier for this configuration type.
|
void |
setNemesysDevice(java.lang.String nemesysDevice)
Sets the ID of the Nemesys device which should be controlled.
|
void |
setScript(java.lang.String script)
Sets the script which controls the syringes, i.e.
|
void |
setScriptEngine(java.lang.String scriptEngine)
Sets the name of the script engine with which the script should be executed.
|
void |
setTableSaveName(java.lang.String tableSaveName)
Sets the name (without extension) of the file to which the flow rate and volume information of the syringe pumps should be stored during evaluation.
|
clone, toString
public static final java.lang.String TYPE_IDENTIFIER
public static final java.lang.String SCRIPT_ENGINE_TIMETABLE
public java.lang.String getTypeIdentifier()
Configuration
getTypeIdentifier
in interface Configuration
public java.lang.String getDescription()
JobConfiguration
getDescription
in class JobConfiguration
public void setScript(java.lang.String script)
script
- The script to set.public java.lang.String getScript()
public void setScriptEngine(java.lang.String scriptEngine)
scriptEngine
- Name of the script engine.public java.lang.String getScriptEngine()
public void setNemesysDevice(java.lang.String nemesysDevice)
nemesysDevice
- The ID of the nemesys device.public java.lang.String getNemesysDevice()
public TableDefinition getConsumedTableDefinition()
TableConsumerConfiguration
getConsumedTableDefinition
in interface TableConsumerConfiguration
public TableDefinition getProducedTableDefinition()
TableProducerConfiguration
TableProducer.getProducedTableDefinition()
.getProducedTableDefinition
in interface TableProducerConfiguration
public void setTableSaveName(java.lang.String tableSaveName)
tableSaveName
- Name of the file (without extension) where the Nemesys state should be saved, or null.public java.lang.String getTableSaveName()
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