public class WorkflowInstance extends Object
Constructor and Description |
---|
WorkflowInstance(org.codehaus.jackson.JsonNode rootNode)
The only constructor
|
Modifier and Type | Method and Description |
---|---|
Date |
getEndTime()
time when this instance was completed/aborted
|
String |
getId()
returns the id of this workflow instance
|
String |
getInitiator()
returns who started this workflow instance
|
String |
getModelId()
The model used for this workflow instance
|
String |
getPayload()
the payload reference
|
String |
getPayloadType()
The type of payload reference ,either URL or JCR_PATH
|
Date |
getStartTime()
time when the workflow instance was started
|
WorkflowClient.Status |
getStatus()
returns the current state of this workflow instance, see
WorkflowClient.Status |
List<String> |
getWorkItemIds() |
Map<String,String> |
getWorkItems()
A map of all currently active work items belonging to this instance
|
public WorkflowInstance(org.codehaus.jackson.JsonNode rootNode)
rootNode
- the JSON node containing all infospublic String getId()
public WorkflowClient.Status getStatus()
WorkflowClient.Status
public String getModelId()
public String getPayloadType()
public String getPayload()
public String getInitiator()
public Date getStartTime()
public Date getEndTime()
Copyright © 2018. All rights reserved.