public class Bpmn extends BpmnDefinitions
BpmnDefinitions.BpmnDefinitionsBuilder
collaborations, diagrams, messages, processes, resources
BpmnText, lineNumber, tag
Constructor and Description |
---|
Bpmn() |
Modifier and Type | Method and Description |
---|---|
org.deckfour.xes.model.XLog |
getLog() |
boolean |
hasErrors() |
boolean |
hasInfos() |
void |
log(java.lang.String name)
Adds a new trace with the given name to the log.
|
void |
log(java.lang.String context,
int lineNumber,
java.lang.String message)
Adds a log event to the current trace in the log.
|
void |
logInfo(java.lang.String context,
int lineNumber,
java.lang.String message)
Adds a log event to the current trace in the log.
|
exportElements, getCollaborations, getDiagrams, getMessages, getProcesses, getResources, importElements, unmarshall, unmarshall
checkBoolean, checkDouble, checkInteger, checkRequired, checkRestriction, checkURI, checkValidity, exportAttribute, exportAttributes, exportElement, getBpmnText, getLineNumber, getTag, importAttributes, importElement, importText, setLineNumber, setTag, setXpdlText
public org.deckfour.xes.model.XLog getLog()
public void log(java.lang.String context, int lineNumber, java.lang.String message)
context
- Context of the message, typically the current PNML tag.lineNumber
- Current line number.message
- Error message.public void logInfo(java.lang.String context, int lineNumber, java.lang.String message)
context
- Context of the message, typically the current PNML tag.lineNumber
- Current line number.message
- Error message.public void log(java.lang.String name)
name
- The give name.public boolean hasErrors()
public boolean hasInfos()