public class ImagingJobConfiguration extends JobConfiguration implements ImageProducerConfiguration
| Constructor and Description |
|---|
ImagingJobConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkConfiguration()
Checks the current state of the configuration.
|
java.lang.Object |
clone() |
java.lang.String |
getCamera()
Returns the ID of the camera with which should be imaged, or null, if imaging with the default camera.
|
CameraConfiguration |
getCameraConfiguration()
Returns the camera configuration,.
|
java.lang.String |
getChannel()
Returns the channel in which should be imaged.
|
ChannelConfiguration |
getChannelConfiguration()
Returns the channel configuration.
|
java.lang.String |
getChannelGroup() |
java.lang.String |
getDescription()
Returns a short description of this job.
|
double |
getExposure() |
java.lang.String |
getImageSaveName()
Returns the name under which the images should be saved.
|
java.lang.String[] |
getImageSaveNames()
Should return the names of all images produced by this job and which should be saved to disk.
|
int |
getNumberOfImages()
Returns the number of images which get produced per evaluation of a job initialized with this configuration.
|
java.lang.String |
getTypeIdentifier()
Returns a unique identifier for this configuration type.
|
boolean |
isSaveImages() |
void |
setCamera(java.lang.String camera)
Sets the camera with which should be imaged.
|
void |
setCameraConfiguration(CameraConfiguration cameraConfiguration)
Sets the configuration of the camera.
|
void |
setChannel(java.lang.String channelGroup,
java.lang.String channel)
Sets the channel and channel group in which should be imaged.
|
void |
setChannelConfiguration(ChannelConfiguration channelConfiguration)
Sets the channel configuration.
|
void |
setExposure(double exposure) |
void |
setImageSaveName(java.lang.String name)
The name under which the images should be saved.
|
void |
setSaveImages(boolean saveImages) |
toStringpublic java.lang.String getDescription()
JobConfigurationgetDescription in class JobConfigurationpublic void setChannel(java.lang.String channelGroup,
java.lang.String channel)
channelGroup - The group of the channel.channel - The channel.public java.lang.String getChannel()
public java.lang.String getChannelGroup()
public void setExposure(double exposure)
exposure - the exposure to setpublic double getExposure()
public void setSaveImages(boolean saveImages)
saveImages - the saveImages to setpublic boolean isSaveImages()
public java.lang.String getImageSaveName()
public void setImageSaveName(java.lang.String name)
name - Name of the job.public java.lang.String getTypeIdentifier()
ConfigurationgetTypeIdentifier in interface Configurationpublic java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class JobConfigurationjava.lang.CloneNotSupportedExceptionpublic java.lang.String[] getImageSaveNames()
ImageProducerConfigurationgetImageSaveNames in interface ImageProducerConfigurationpublic int getNumberOfImages()
ImageProducerConfigurationgetNumberOfImages in interface ImageProducerConfigurationpublic void setCamera(java.lang.String camera)
camera - ID of camera device, or null.public java.lang.String getCamera()
public ChannelConfiguration getChannelConfiguration()
public void setChannelConfiguration(ChannelConfiguration channelConfiguration)
channelConfiguration - The channel configuration.public CameraConfiguration getCameraConfiguration()
public void setCameraConfiguration(CameraConfiguration cameraConfiguration)
cameraConfiguration - The configuration of the camera.public void checkConfiguration()
throws ConfigurationException
ConfigurationConfigurationException 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 ConfigurationcheckConfiguration in class JobConfigurationConfigurationException