public class ActivitiEventImpl extends Object implements ActivitiEvent
ActivitiEvent
implementations.Modifier and Type | Field and Description |
---|---|
protected String |
executionId |
protected String |
processDefinitionId |
protected String |
processInstanceId |
protected ActivitiEventType |
type |
Constructor and Description |
---|
ActivitiEventImpl(ActivitiEventType type)
Creates a new event implementation, not part of an execution context.
|
ActivitiEventImpl(ActivitiEventType type,
String executionId,
String processInstanceId,
String processDefinitionId)
Creates a new event implementation, part of an execution context.
|
Modifier and Type | Method and Description |
---|---|
EngineServices |
getEngineServices() |
String |
getExecutionId() |
String |
getProcessDefinitionId() |
String |
getProcessInstanceId() |
ActivitiEventType |
getType() |
void |
setExecutionId(String executionId) |
void |
setProcessDefinitionId(String processDefinitionId) |
void |
setProcessInstanceId(String processInstanceId) |
void |
setType(ActivitiEventType type) |
protected ActivitiEventType type
protected String executionId
protected String processInstanceId
protected String processDefinitionId
public ActivitiEventImpl(ActivitiEventType type)
public ActivitiEventImpl(ActivitiEventType type, String executionId, String processInstanceId, String processDefinitionId)
public ActivitiEventType getType()
getType
in interface ActivitiEvent
public void setType(ActivitiEventType type)
public String getExecutionId()
getExecutionId
in interface ActivitiEvent
public void setExecutionId(String executionId)
public String getProcessDefinitionId()
getProcessDefinitionId
in interface ActivitiEvent
public void setProcessDefinitionId(String processDefinitionId)
public String getProcessInstanceId()
getProcessInstanceId
in interface ActivitiEvent
public void setProcessInstanceId(String processInstanceId)
public EngineServices getEngineServices()
getEngineServices
in interface ActivitiEvent
EngineServices
associated to the engine this event
originated from. Returns null, when not called from within a listener call or when no
Activiti context is active.Copyright © 2016 Alfresco. All rights reserved.