public class CompletedEvent extends Element implements CompletedElement
Element.ElementType
OBJECT_TYPE
Constructor and Description |
---|
CompletedEvent(String identifier,
String elementId,
String name,
String description,
Element.ElementType activityType,
ProcessFlowDescriptor.FlowStatus status,
ProcessFlowDescriptor processFlow,
Date created,
UserDescriptor completedBy,
Date completed)
Initializing constructor which sets the values of all variables.
|
Modifier and Type | Method and Description |
---|---|
Date |
getCompleted()
Gets the completed date of this event
|
UserDescriptor |
getCompletedBy()
Gets the user that completed this element
|
String |
toString() |
equals, getCreated, getDescription, getElementId, getFlowStatus, getName, getProcessFlow, getType, hashCode, setDescription, setName
getIdentifier, getObjectType, setIdentifier, setObjectType
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getCreated, getDescription, getElementId, getFlowStatus, getName, getType
getIdentifier, getObjectType
public CompletedEvent(String identifier, String elementId, String name, String description, Element.ElementType activityType, ProcessFlowDescriptor.FlowStatus status, ProcessFlowDescriptor processFlow, Date created, UserDescriptor completedBy, Date completed)
It is not intended or recommended that the consumer of the API construct these objects. They should only be
retrieved from service calls such as
ProcessFlowService.getCompletedElementsByProcessFlow(String)
.
identifier
- The identifier of the eventelementId
- The id of the event as it appears in the process definitionname
- The name of the eventdescription
- The description of the eventactivityType
- The type of the eventstatus
- The status of the process flowprocessFlow
- The process flow that contains this eventcreated
- The date this event was createdcompletedBy
- The user who completed this eventcompleted
- The date this event was completedpublic UserDescriptor getCompletedBy()
CompletedElement
getCompletedBy
in interface CompletedElement
public Date getCompleted()
getCompleted
in interface CompletedElement
Copyright (c) 2017, SAS Institute Inc., Cary, NC, USA