org.jbpm.designer.bpmn2.validation
public class BPMN2SyntaxChecker extends Object implements SyntaxChecker
Modifier and Type | Class and Description |
---|---|
class |
BPMN2SyntaxChecker.ValidationSyntaxError |
Modifier and Type | Field and Description |
---|---|
static String |
BPMN2_TYPE |
protected Map<String,List<BPMN2SyntaxChecker.ValidationSyntaxError>> |
errors |
static String |
PROCESS_TYPE |
static String |
SIMULATION_TYPE |
Constructor and Description |
---|
BPMN2SyntaxChecker(String json,
String preprocessingData,
IDiagramProfile profile,
String uuid) |
Modifier and Type | Method and Description |
---|---|
void |
checkSyntax() |
void |
clearErrors() |
boolean |
errorsFound() |
Map<String,List<BPMN2SyntaxChecker.ValidationSyntaxError>> |
getErrors() |
org.json.JSONObject |
getErrorsAsJson() |
public static final String BPMN2_TYPE
public static final String SIMULATION_TYPE
public static final String PROCESS_TYPE
protected Map<String,List<BPMN2SyntaxChecker.ValidationSyntaxError>> errors
public BPMN2SyntaxChecker(String json, String preprocessingData, IDiagramProfile profile, String uuid)
public void checkSyntax()
checkSyntax
in interface SyntaxChecker
public Map<String,List<BPMN2SyntaxChecker.ValidationSyntaxError>> getErrors()
getErrors
in interface SyntaxChecker
public org.json.JSONObject getErrorsAsJson()
getErrorsAsJson
in interface SyntaxChecker
public boolean errorsFound()
errorsFound
in interface SyntaxChecker
public void clearErrors()
clearErrors
in interface SyntaxChecker
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.