Class EsbPublishInput
java.lang.Object
com.kingsrook.qqq.backend.core.model.actions.AbstractActionInput
com.kingsrook.qqq.esb.publish.EsbPublishInput
Input for EsbPublishAction: the destination (its QQQ name) to publish one
event to, the event's type (required, e.g., com.example.order.shipped), and
its data (optional; none means empty).
sourcePath (optional) is what follows the instance name in the event's
source - e.g., process/syncOrder gives qqq://instanceName/process/syncOrder.
Without it, the source is the application itself (qqq://instanceName/).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetData()Getter for dataGetter for destinationNameGetter for sourcePathgetType()Getter for typevoidsetData(Map<String, Serializable> data) Setter for datavoidsetDestinationName(String destinationName) Setter for destinationNamevoidsetSourcePath(String sourcePath) Setter for sourcePathvoidSetter for typewithData(Map<String, Serializable> data) Fluent setter for datawithDestinationName(String destinationName) Fluent setter for destinationNamewithSourcePath(String sourcePath) Fluent setter for sourcePathFluent setter for typeMethods inherited from class com.kingsrook.qqq.backend.core.model.actions.AbstractActionInput
getActionIdentity, getAsyncJobCallback, getPermissionBypassReason, getPermissionEnforcement, setAsyncJobCallback, setPermissionEnforcement, withPermissionBypass, withPermissionEnforcement
-
Constructor Details
-
EsbPublishInput
public EsbPublishInput()
-
-
Method Details
-
getDestinationName
Getter for destinationName -
setDestinationName
Setter for destinationName -
withDestinationName
Fluent setter for destinationName -
getType
Getter for type -
setType
Setter for type -
withType
Fluent setter for type -
getSourcePath
Getter for sourcePath -
setSourcePath
Setter for sourcePath -
withSourcePath
Fluent setter for sourcePath -
getData
Getter for data -
setData
Setter for data -
withData
Fluent setter for data
-