Package de.uka.ipd.sdq.workflow.mdsd.oaw
Class PerformOAWCheckValidation
java.lang.Object
de.uka.ipd.sdq.workflow.mdsd.validation.ModelValidationJob
de.uka.ipd.sdq.workflow.mdsd.oaw.PerformOAWCheckValidation
- All Implemented Interfaces:
IBlackboardInteractingJob<MDSDBlackboard>
,IJob
Execute a model validation check using a given oAW check file. The oAW check language allows
powerfull specification of model validation rules similar to OCL constraints.
-
Constructor Summary
ConstructorDescriptionPerformOAWCheckValidation
(String partitionName, String checkFilename, EPackage[] packages) Create a new oAW check job. -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(IProgressMonitor monitor) Execute the job.getName()
Supply a name of this job.void
setBlackboard
(MDSDBlackboard blackboard) Sets the blackboard of this job to the given blackboard.Methods inherited from class de.uka.ipd.sdq.workflow.mdsd.validation.ModelValidationJob
cleanup, getErrorLevel, getResult, setJobResult
-
Constructor Details
-
PerformOAWCheckValidation
Create a new oAW check job.- Parameters:
partitionName
- The blackboard model partition containing the model to validatecheckFilename
- The URL of the check file containing the rules for well-formed modelspackages
- The EPackages used in the model to be checked
-
-
Method Details
-
execute
Description copied from interface:IJob
Execute the job. In case of an error throw an exception with a meaningful name which can be understood by a user.- Parameters:
monitor
- the monitor- Throws:
JobFailedException
- the job failedUserCanceledException
- the user has chosen to abort the job
-
getName
Description copied from interface:IJob
Supply a name of this job. This could be used for a progress monitor.- Returns:
- the name of the job
-
setBlackboard
Description copied from interface:IBlackboardInteractingJob
Sets the blackboard of this job to the given blackboard.- Parameters:
blackboard
- The blackboard to be used by this job
-