Package io.serverlessworkflow.api.events
Class EventRef
- java.lang.Object
-
- io.serverlessworkflow.api.events.EventRef
-
- All Implemented Interfaces:
Serializable
public class EventRef extends Object implements Serializable
Event References- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>
getContextAttributes()
Add additional extension context attributes to the produced eventString
getData()
Expression which selects parts of the states data output to become the data of the produced event.String
getResultEventRef()
Reference to the unique name of a 'consumed' event definition (Required)String
getTriggerEventRef()
Reference to the unique name of a 'produced' event definition (Required)void
setContextAttributes(Map<String,String> contextAttributes)
Add additional extension context attributes to the produced eventvoid
setData(String data)
Expression which selects parts of the states data output to become the data of the produced event.void
setResultEventRef(String resultEventRef)
Reference to the unique name of a 'consumed' event definition (Required)void
setTriggerEventRef(String triggerEventRef)
Reference to the unique name of a 'produced' event definition (Required)EventRef
withContextAttributes(Map<String,String> contextAttributes)
EventRef
withData(String data)
EventRef
withResultEventRef(String resultEventRef)
EventRef
withTriggerEventRef(String triggerEventRef)
-
-
-
Method Detail
-
getTriggerEventRef
public String getTriggerEventRef()
Reference to the unique name of a 'produced' event definition (Required)
-
setTriggerEventRef
public void setTriggerEventRef(String triggerEventRef)
Reference to the unique name of a 'produced' event definition (Required)
-
getResultEventRef
public String getResultEventRef()
Reference to the unique name of a 'consumed' event definition (Required)
-
setResultEventRef
public void setResultEventRef(String resultEventRef)
Reference to the unique name of a 'consumed' event definition (Required)
-
getData
public String getData()
Expression which selects parts of the states data output to become the data of the produced event.
-
setData
public void setData(String data)
Expression which selects parts of the states data output to become the data of the produced event.
-
getContextAttributes
public Map<String,String> getContextAttributes()
Add additional extension context attributes to the produced event
-
setContextAttributes
public void setContextAttributes(Map<String,String> contextAttributes)
Add additional extension context attributes to the produced event
-
-