Class ValidationResultsCollectorImpl
java.lang.Object
org.camunda.bpm.model.xml.impl.validation.ValidationResultsCollectorImpl
- All Implemented Interfaces:
 ValidationResultCollector
- Author:
 - Daniel Meyer
 
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Map<ModelElementInstance,List<ValidationResult>> protected ModelElementInstanceprotected intprotected int - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidAdds an errorvoidaddWarning(int code, String message) Adds a wariningprotected List<ValidationResult>voidsetCurrentElement(ModelElementInstance currentElement)  
- 
Field Details
- 
currentElement
 - 
collectedResults
 - 
errorCount
protected int errorCount - 
warningCount
protected int warningCount 
 - 
 - 
Constructor Details
- 
ValidationResultsCollectorImpl
public ValidationResultsCollectorImpl() 
 - 
 - 
Method Details
- 
addError
Description copied from interface:ValidationResultCollectorAdds an error- Specified by:
 addErrorin interfaceValidationResultCollector- Parameters:
 code- a reference code for the errormessage- a human consumable error message
 - 
addWarning
Description copied from interface:ValidationResultCollectorAdds a warining- Specified by:
 addWarningin interfaceValidationResultCollector- Parameters:
 code- a reference code for the errormessage- a human consumable error message
 - 
setCurrentElement
 - 
getResults
 - 
resultsForCurrentElement
 
 -