public class MicroplateMeasurementConfiguration extends MeasurementConfiguration implements java.lang.Cloneable, java.io.Serializable, JobContainerConfiguration
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TYPE_IDENTIFIER
The identifier for this measurement type.
|
Constructor and Description |
---|
MicroplateMeasurementConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
addJob(JobConfiguration job)
Adds a job to the job list.
|
void |
addJob(JobConfiguration job,
int index)
Adds a job to the job list.
|
void |
checkConfiguration()
Checks the current state of the configuration.
|
void |
clearJobs()
Removes all jobs from the job list.
|
java.lang.Object |
clone() |
FocusConfiguration |
getFocusConfiguration() |
JobConfiguration[] |
getJobs()
Returns the job list which might be edited by the caller.
|
MicroplatePositionConfiguration |
getMicroplatePositions()
Returns the used microplate and the measured positions therein.
|
java.lang.String |
getPathOptimizerID()
Returns the ID of the optimizer which should be used to minimize the distances between two wells/positions measured.
|
PeriodConfiguration |
getPeriod() |
java.lang.String |
getStageDevice()
Returns the ID of the stage device which should be used to change between wells and positions.
|
java.lang.String |
getStatisticsFileName()
Returns the name (without extension) of the file in which statistics of the measurement should be saved to.
|
int |
getTimePerWell() |
java.lang.String |
getTypeIdentifier()
Returns a unique identifier for this configuration type.
|
boolean |
isAllowEditsWhileRunning()
Returns true if measurement configuration can be edited while it is running.
|
void |
removeJobAt(int index)
Removes the job at the given index.
|
void |
setAllowEditsWhileRunning(boolean allowEditsWhileRunning)
Set to true to allow the measurement to be edited while running.
|
void |
setFocusConfiguration(FocusConfiguration focusConfiguration) |
void |
setJobs(JobConfiguration[] jobs)
Sets the job list to the given list.
|
void |
setMicroplatePositions(MicroplatePositionConfiguration microplatePositions)
Sets the used microplate and the measured positions therein.
|
void |
setPathOptimizerID(java.lang.String pathOptimizerID)
Sets the ID of the optimizer which should be used to minimize the distances between two wells/positions measured.
|
void |
setPeriod(PeriodConfiguration period) |
void |
setStageDevice(java.lang.String stageDevice)
Sets the ID of the stage device which should be used to change between wells and positions.
|
void |
setStatisticsFileName(java.lang.String statisticsFileName)
Sets the name (without extension) of the file in which statistics of the measurement should be saved to.
|
void |
setTimePerWell(int timePerWell) |
getDeviseSettingsOff, getDeviseSettingsOn, getMeasurementRuntime, getName, getSaveSettings, setDeviseSettingsOff, setDeviseSettingsOn, setMeasurementRuntime, setName, setSaveSettings
public static final java.lang.String TYPE_IDENTIFIER
public JobConfiguration[] getJobs()
JobContainerConfiguration
getJobs
in interface JobContainerConfiguration
public void setJobs(JobConfiguration[] jobs)
JobContainerConfiguration
setJobs
in interface JobContainerConfiguration
jobs
- New job list.public void addJob(JobConfiguration job)
JobContainerConfiguration
addJob
in interface JobContainerConfiguration
job
- Job to be added.public void clearJobs()
JobContainerConfiguration
clearJobs
in interface JobContainerConfiguration
public boolean isAllowEditsWhileRunning()
public void setAllowEditsWhileRunning(boolean allowEditsWhileRunning)
allowEditsWhileRunning
- True if measurement should be changeable while running.public java.lang.String getTypeIdentifier()
Configuration
getTypeIdentifier
in interface Configuration
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class MeasurementConfiguration
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 MeasurementConfiguration
ConfigurationException
public void removeJobAt(int index)
JobContainerConfiguration
removeJobAt
in interface JobContainerConfiguration
index
- Index of the job to be removed.public void addJob(JobConfiguration job, int index)
JobContainerConfiguration
addJob
in interface JobContainerConfiguration
job
- Job to be added.index
- Index where the job should be added.public void setTimePerWell(int timePerWell)
timePerWell
- the timePerWell to setpublic int getTimePerWell()
public void setPeriod(PeriodConfiguration period)
period
- the period to setpublic PeriodConfiguration getPeriod()
public void setFocusConfiguration(FocusConfiguration focusConfiguration)
focusConfiguration
- The configuration of the focus used when entering a well. Set
to NULL to not set focus.public FocusConfiguration getFocusConfiguration()
public void setMicroplatePositions(MicroplatePositionConfiguration microplatePositions)
microplatePositions
- the configuration of the used microplate and the measured positions therein.public MicroplatePositionConfiguration getMicroplatePositions()
public void setStatisticsFileName(java.lang.String statisticsFileName)
statisticsFileName
- name for the file (without extension) in which statistics should be saved, or null.public java.lang.String getStatisticsFileName()
public void setPathOptimizerID(java.lang.String pathOptimizerID)
pathOptimizerID
- The ID of the path optimizer used, or nullpublic java.lang.String getPathOptimizerID()
public void setStageDevice(java.lang.String stageDevice)
stageDevice
- The ID of the stage device, or NULL.public java.lang.String getStageDevice()