org.camunda.bpm.model.xml.validation
Interface ValidationResultCollector

All Known Implementing Classes:
ValidationResultsCollectorImpl

public interface ValidationResultCollector

Object passed to the ModelElementValidator to collect validation results.

Since:
7.6
Author:
Daniel Meyer

Method Summary
 void addError(int code, String message)
          Adds an error
 void addWarning(int code, String message)
          Adds a warining
 

Method Detail

addError

void addError(int code,
              String message)
Adds an error

Parameters:
code - a reference code for the error
message - a human consumable error message

addWarning

void addWarning(int code,
                String message)
Adds a warining

Parameters:
code - a reference code for the error
message - a human consumable error message


Copyright © 2016 camunda services GmbH. All rights reserved.