public class StatisticsJobConfiguration extends JobConfiguration implements JobContainerConfiguration, TableProducerConfiguration
Constructor and Description |
---|
StatisticsJobConfiguration() |
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() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDescription()
Returns a short description of this job.
|
java.lang.String |
getFileName()
Returns the file name where statistical data is saved.
|
JobConfiguration[] |
getJobs()
Returns the job list which might be edited by the caller.
|
TableDefinition |
getProducedTableDefinition()
Returns the definition of the table layout of the tables produced by this producer, e.g.
|
java.lang.String |
getTypeIdentifier()
Returns a unique identifier for this configuration type.
|
int |
hashCode() |
void |
removeJobAt(int index)
Removes the job at the given index.
|
void |
setFileName(java.lang.String fileName)
Sets the file name where statistical data should be saved.
|
void |
setJobs(JobConfiguration[] jobs)
Sets the job list to the given list.
|
toString
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String getDescription()
JobConfiguration
getDescription
in class JobConfiguration
public java.lang.String getFileName()
public void setFileName(java.lang.String fileName)
fileName
- File name for statistical data.public java.lang.String getTypeIdentifier()
Configuration
getTypeIdentifier
in interface Configuration
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class JobConfiguration
java.lang.CloneNotSupportedException
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 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 TableDefinition getProducedTableDefinition()
TableProducerConfiguration
TableProducer.getProducedTableDefinition()
.getProducedTableDefinition
in interface TableProducerConfiguration
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