public static class SimpleStateManager.EventGroup extends Object
SimpleStateManager.DetailGroup
. One or more DetailGroups can be combined
into a single EventGroup concept. EventGroups are roughly analogous to a
WorkflowEvent
, which is expressed in the approval view in the admin.Constructor and Description |
---|
EventGroup(List<SimpleStateManager.DetailGroup> detailGroups,
String name,
String message,
boolean isComplete,
String correlationId)
Provide multiple
SimpleStateManager.DetailGroup instances to be grouped into this EventGroup. |
EventGroup(SimpleStateManager.DetailGroup detailGroup,
String name,
String message)
Construct a single event group for a single detail group.
|
Modifier and Type | Method and Description |
---|---|
String |
getCorrelationId() |
List<SimpleStateManager.DetailGroup> |
getDetailGroups() |
String |
getMessage() |
String |
getName() |
boolean |
isComplete() |
public EventGroup(SimpleStateManager.DetailGroup detailGroup, String name, String message)
detailGroup
- The SimpleStateManager.DetailGroup
name
- The identifying name that will appear in the admin approval viewmessage
- Optional descriptive messagepublic EventGroup(List<SimpleStateManager.DetailGroup> detailGroups, String name, String message, boolean isComplete, String correlationId)
SimpleStateManager.DetailGroup
instances to be grouped into this EventGroup.detailGroups
- The list of DetailGroupsname
- The identifying name that will appear in the admin approval viewmessage
- Optional descriptive messageisComplete
- Whether or not this list represents all the detail groups, or if
more detail groups will be coming in a different batchcorrelationId
- A simple string value to identify this EventGroup during this
process. This correlation id facilitates matching additional
detail groups across multiple batch calls to this method.public List<SimpleStateManager.DetailGroup> getDetailGroups()
public String getName()
public boolean isComplete()
public String getCorrelationId()
public String getMessage()
Copyright © 2021. All rights reserved.