public class BPMNReferenceValidator
extends java.lang.Object
ValidationResult
,
ValidationException
Constructor and Description |
---|
BPMNReferenceValidator()
Constructor sets the defaults.
|
Modifier and Type | Method and Description |
---|---|
void |
validate(BPMNProcess process,
ValidationResult validationResult)
This method validates a set of BPMN processes given in the parameter
process regarding reference correctness, i.e., exist all references and are they referencing an allowed
BPMN element.
|
public BPMNReferenceValidator() throws ValidationException
ValidationException
- if problems with the language files existpublic void validate(BPMNProcess process, ValidationResult validationResult) throws ValidationException
process
- the base process which should be checked; must not be null
validationResult
- the ValidationResult to be used; must not be null
ValidationException
- if technical problems occurredjava.lang.NullPointerException
- if one of the parameters is null