public class ProduceEvent extends Object implements Serializable
| Constructor and Description |
|---|
ProduceEvent()
No args constructor for use in serialization
|
ProduceEvent(String eventRef) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getContextAttributes()
Add additional event extension context attributes
|
String |
getData()
Workflow expression which selects parts of the states data output to become the data of the produced event
|
String |
getEventRef()
References a name of a defined event
(Required)
|
void |
setContextAttributes(Map<String,String> contextAttributes)
Add additional event extension context attributes
|
void |
setData(String data)
Workflow expression which selects parts of the states data output to become the data of the produced event
|
void |
setEventRef(String eventRef)
References a name of a defined event
(Required)
|
ProduceEvent |
withContextAttributes(Map<String,String> contextAttributes) |
ProduceEvent |
withData(String data) |
ProduceEvent |
withEventRef(String eventRef) |
public ProduceEvent()
public ProduceEvent(String eventRef)
eventRef - public String getEventRef()
public void setEventRef(String eventRef)
public ProduceEvent withEventRef(String eventRef)
public String getData()
public void setData(String data)
public ProduceEvent withData(String data)
public Map<String,String> getContextAttributes()
public void setContextAttributes(Map<String,String> contextAttributes)
public ProduceEvent withContextAttributes(Map<String,String> contextAttributes)
Copyright © 2020–2023 CNCF. All rights reserved.