Example usage for com.liferay.portal.kernel.workflow WorkflowInstance getWorkflowDefinitionName

List of usage examples for com.liferay.portal.kernel.workflow WorkflowInstance getWorkflowDefinitionName

Introduction

In this page you can find the example usage for com.liferay.portal.kernel.workflow WorkflowInstance getWorkflowDefinitionName.

Prototype

public String getWorkflowDefinitionName();

Source Link

Usage

From source file:de.hofuniversity.iisys.liferay.workflows.LoggingWorkflowEngine.java

License:Open Source License

private void logWfInstance(WorkflowInstance wf, String indent) {
    if (wf != null) {
        fLogger.println(indent + "ChildrenWorkflowInstanceCount: " + wf.getChildrenWorkflowInstanceCount());
        fLogger.println(indent + "ParentWorkflowInstanceId: " + wf.getParentWorkflowInstanceId());
        fLogger.println(indent + "state: " + wf.getState());
        fLogger.println(indent + "WorkflowDefinitionName: " + wf.getWorkflowDefinitionName());
        fLogger.println(indent + "WorkflowInstanceId: " + wf.getWorkflowInstanceId());
        fLogger.println(indent + "WorkflowContext:");
        logMap(wf.getWorkflowContext(), indent + "\t");
    }/*  w  ww .java  2 s .  c om*/
}