List of usage examples for com.liferay.portal.workflow.kaleo.definition Definition getInitialState
public State getInitialState()
From source file:de.hofuniversity.iisys.liferay.workflows.LoggingWorkflowEngine.java
License:Open Source License
@Override public void validateWorkflowDefinition(InputStream inputStream) throws WorkflowException { try {//w ww . j ava 2s . c o m fLogger.println("WorkflowEngine.updateContext"); Definition definition = _workflowModelParser.parse(inputStream); fLogger.println("\tdefinition.name" + definition.getName()); fLogger.println("\tdefinition.content" + definition.getContent()); fLogger.println("\tdefinition.initialState" + definition.getInitialState()); fLogger.flush(); if (_workflowValidator != null) { _workflowValidator.validate(definition); } } catch (Exception e) { throw new WorkflowException(e); } }