de.matthias_burbach.flux
Interface ModelChecker
- All Known Implementing Classes:
- DefaultModelChecker
- public interface ModelChecker
Checks the UML Model for constraint violations that put the generation
at risk to fail or produce improper results.
Is a plug-in interface. The implementation to be used must be configured
in the flux-config.xml file.
- Author:
- Matthias Burbach
Method Summary |
void |
check(Model model)
Is called before the actual generation is started to make sure the
generator plug-ins get proper input.
|
check
public void check(Model model)
throws ModelCheckerException,
java.lang.Exception
- Is called before the actual generation is started to make sure the
generator plug-ins get proper input.
If this method throws an exception the generation will be cancelled and
the exception will be reported to the user.
- Parameters:
model
- the UML model to be checked
- Throws:
ModelCheckerException
- if the check found constraint violations
in the model
java.lang.Exception
- if the check failed for any other reason