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 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

      protected void setJobResult(List<de.uka.ipd.sdq.errorhandling.SeverityAndIssue> jobResult)
      Sets the job result.
      Parameters:
      jobResult - the jobResult to set
    • getResult

      public List<de.uka.ipd.sdq.errorhandling.SeverityAndIssue> getResult()
      Returns the job result.
      Returns:
      The list of issues tracked for the job.
    • cleanup

      public void cleanup(IProgressMonitor monitor) throws CleanupFailedException
      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 interface IJob
      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.