public class StaggeringJobConfiguration extends JobConfiguration implements JobContainerConfiguration
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TYPE_IDENTIFIER
The identifier for this job type.
|
| Constructor and Description |
|---|
StaggeringJobConfiguration() |
| 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() |
double |
getDeltaX() |
double |
getDeltaY() |
java.lang.String |
getDescription()
Returns a short description of this job.
|
JobConfiguration[] |
getJobs()
Returns the job list which might be edited by the caller.
|
int |
getNumIterationsBreak()
Returns the number of iterations for which nothing should be done before imaging in the next iteration the defined number of tiles.
|
int |
getNumTilesPerIteration()
Returns the number of tiles which should be imaged per iteration.
|
int |
getNumTilesX() |
int |
getNumTilesY() |
java.lang.String |
getTypeIdentifier()
Returns a unique identifier for this configuration type.
|
void |
removeJobAt(int index)
Removes the job at the given index.
|
void |
setDeltaX(double deltaX) |
void |
setDeltaY(double deltaY) |
void |
setJobs(JobConfiguration[] jobs)
Sets the job list to the given list.
|
void |
setNumIterationsBreak(int numIterationsBreak)
Set the number of iterations for which nothing should be done before imaging in the next iteration the defined number of tiles.
|
void |
setNumTilesPerIteration(int numTilesPerIteration)
Set the number of tiles which should be imaged per iteration.
|
void |
setNumTilesX(int nx) |
void |
setNumTilesY(int ny) |
toStringpublic static final java.lang.String TYPE_IDENTIFIER
public java.lang.String getDescription()
JobConfigurationgetDescription in class JobConfigurationpublic void setNumTilesPerIteration(int numTilesPerIteration)
numTilesPerIteration - Number of tiles per iterationpublic void setNumIterationsBreak(int numIterationsBreak)
numIterationsBreak - Number of iterations which should be waited.public int getNumTilesPerIteration()
public int getNumIterationsBreak()
public void setNumTilesX(int nx)
nx - number of tiles in x-directionpublic int getNumTilesX()
public void setNumTilesY(int ny)
ny - number of tiles in y-directionpublic int getNumTilesY()
public java.lang.String getTypeIdentifier()
ConfigurationgetTypeIdentifier in interface Configurationpublic java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class JobConfigurationjava.lang.CloneNotSupportedExceptionpublic JobConfiguration[] getJobs()
JobContainerConfigurationgetJobs in interface JobContainerConfigurationpublic void setJobs(JobConfiguration[] jobs)
JobContainerConfigurationsetJobs in interface JobContainerConfigurationjobs - New job list.public void addJob(JobConfiguration job)
JobContainerConfigurationaddJob in interface JobContainerConfigurationjob - Job to be added.public void clearJobs()
JobContainerConfigurationclearJobs in interface JobContainerConfigurationpublic void removeJobAt(int index)
JobContainerConfigurationremoveJobAt in interface JobContainerConfigurationindex - Index of the job to be removed.public void addJob(JobConfiguration job, int index)
JobContainerConfigurationaddJob in interface JobContainerConfigurationjob - Job to be added.index - Index where the job should be added.public void setDeltaX(double deltaX)
deltaX - Distance between neighboring tiles in the x-direction in micro m.public double getDeltaX()
public void setDeltaY(double deltaY)
deltaY - Distance between neighboring tiles in the y-direction in micro m.public double getDeltaY()
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