public class OscillatingDeviceJobConfiguration extends JobConfiguration
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TYPE_IDENTIFIER
The identifier for this job type.
|
Constructor and Description |
---|
OscillatingDeviceJobConfiguration() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
java.lang.String |
getDescription()
Returns a short description of this job.
|
java.lang.String |
getDevice() |
double |
getInitialPhase()
Returns the initial phase of the oscillations in rad.
|
double |
getMaxValue() |
double |
getMinValue() |
int |
getPeriodLength() |
java.lang.String |
getProperty() |
java.lang.String |
getTypeIdentifier()
Returns a unique identifier for this configuration type.
|
void |
setDevice(java.lang.String device) |
void |
setInitialPhase(double initialPhase)
Sets the initial phase of the oscillations in rad.
|
void |
setMaxValue(double maxValue) |
void |
setMinValue(double minValue) |
void |
setPeriodLength(int periodLength)
Sets the period length in seconds.
|
void |
setProperty(java.lang.String property) |
checkConfiguration, toString
public static final java.lang.String TYPE_IDENTIFIER
public java.lang.String getTypeIdentifier()
Configuration
public java.lang.String getDescription()
JobConfiguration
getDescription
in class JobConfiguration
public void setDevice(java.lang.String device)
device
- the device which owns a property which should oscillate.public java.lang.String getDevice()
public void setProperty(java.lang.String property)
property
- the property which should oscillate.public java.lang.String getProperty()
public void setMaxValue(double maxValue)
maxValue
- the maximal value the property should be during oscillations.public double getMaxValue()
public void setMinValue(double minValue)
minValue
- the minimal value the property should be during oscillations.public double getMinValue()
public void setPeriodLength(int periodLength)
periodLength
- Period length in seconds.public int getPeriodLength()
public void setInitialPhase(double initialPhase)
initialPhase
- Initial phase in rad.public double getInitialPhase()
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class JobConfiguration
java.lang.CloneNotSupportedException