Class ModelValidationJob
java.lang.Object
de.uka.ipd.sdq.workflow.mdsd.validation.ModelValidationJob
- All Implemented Interfaces:
IBlackboardInteractingJob<MDSDBlackboard>
,IJob
- Direct Known Subclasses:
CheckEMFConstraintsJob
,PerformOAWCheckValidation
public abstract class ModelValidationJob
extends Object
implements IBlackboardInteractingJob<MDSDBlackboard>
The Class ModelValidationJob.
-
Constructor Summary
ConstructorDescriptionModelValidationJob
(de.uka.ipd.sdq.errorhandling.SeverityEnum errorLevel) Instantiates a new model validation job. -
Method Summary
Modifier and TypeMethodDescriptionvoid
cleanup
(IProgressMonitor monitor) Clean up all temporary side effects of this job.de.uka.ipd.sdq.errorhandling.SeverityEnum
Gets the error level.List<de.uka.ipd.sdq.errorhandling.SeverityAndIssue>
Returns the job result.protected void
setJobResult
(List<de.uka.ipd.sdq.errorhandling.SeverityAndIssue> jobResult) Sets the job result.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface de.uka.ipd.sdq.workflow.jobs.IBlackboardInteractingJob
setBlackboard
-
Constructor Details
-
ModelValidationJob
public ModelValidationJob(de.uka.ipd.sdq.errorhandling.SeverityEnum errorLevel) Instantiates a new model validation job.- Parameters:
errorLevel
- the error level
-
-
Method Details
-
getErrorLevel
public de.uka.ipd.sdq.errorhandling.SeverityEnum getErrorLevel()Gets the error level.- Returns:
- the errorLevel
-
setJobResult
Sets the job result.- Parameters:
jobResult
- the jobResult to set
-
getResult
Returns the job result.- Returns:
- The list of issues tracked for the job.
-
cleanup
Description copied from interface:IJob
Clean up all temporary side effects of this job. This method will always be called after executing this job to remove automatically created files and to leave the environment in a state in which the whole workflow run can be started again with the same results (i.e. in which executed can be called again). Usually, cleanup is called after the whole workflow is completed to allow other jobs to use intermediate results. In some cases, cleanup can be called earlier. However, in those cases, later jobs might not be able to access the intermediate data anymore.- Specified by:
cleanup
in interfaceIJob
- Parameters:
monitor
- the monitor- Throws:
CleanupFailedException
- Thrown if a critical error occurred during clean up so that the whole workflow should abort cleaning up further jobs.
-