public class ChangePositionJobConfiguration extends JobConfiguration
Constructor and Description |
---|
ChangePositionJobConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
checkConfiguration()
Checks the current state of the configuration.
|
java.lang.Object |
clone() |
java.lang.String |
getDescription()
Returns a short description of this job.
|
java.lang.String |
getStageDevice()
Returns the stage device which should be moved, or null for the default stage.
|
java.lang.String |
getTypeIdentifier()
Returns a unique identifier for this configuration type.
|
double |
getX() |
double |
getY() |
boolean |
isAbsolute() |
void |
setAbsolute(boolean absolute) |
void |
setStageDevice(java.lang.String stageDevice)
Set to the stage device which should be moved, or to null for the default stage.
|
void |
setX(double x) |
void |
setY(double y) |
toString
public void setX(double x)
x
- the x to setpublic double getX()
public java.lang.String getDescription()
JobConfiguration
getDescription
in class JobConfiguration
public void setAbsolute(boolean absolute)
absolute
- the absolute to setpublic boolean isAbsolute()
public void setY(double y)
y
- the y to setpublic double getY()
public java.lang.String getTypeIdentifier()
Configuration
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class JobConfiguration
java.lang.CloneNotSupportedException
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
public java.lang.String getStageDevice()
public void setStageDevice(java.lang.String stageDevice)
stageDevice
- Stage which should be moved.