Class EsbProcessMetaData
java.lang.Object
com.kingsrook.qqq.backend.core.model.metadata.processes.QSupplementalProcessMetaData
com.kingsrook.qqq.esb.model.EsbProcessMetaData
Process-level ESB meta-data: the destinations a process publishes its
lifecycle events to, and the triggers (queues and topics) that run it.
Not included in frontend meta-data; the UI reads it through the
permission-checked ESB endpoints.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetter for publicationsGetter for triggersgetType()Getter for typestatic EsbProcessMetaDataof(QProcessMetaData process) Get the ESB meta-data on a process - or null if it has none.static EsbProcessMetaDataofOrWithNew(QProcessMetaData process) Get the ESB meta-data on a process - creating (and adding) it if the process doesn't have any yet.voidsetPublications(List<EsbProcessPublication> publications) Setter for publicationsvoidsetTriggers(List<EsbTrigger> triggers) Setter for triggersvoidvalidate(QInstance qInstance, QProcessMetaData process, QInstanceValidator qInstanceValidator) Each publication must be to a known destination; each trigger must be valid, and there can be only one trigger per destination.withPublication(EsbProcessPublication publication) Fluent setter to add a single publicationwithPublications(List<EsbProcessPublication> publications) Fluent setter for publicationswithTrigger(EsbTrigger trigger) Fluent setter to add a single triggerwithTriggers(List<EsbTrigger> triggers) Fluent setter for triggersMethods inherited from class com.kingsrook.qqq.backend.core.model.metadata.processes.QSupplementalProcessMetaData
enrich
-
Field Details
-
TYPE
- See Also:
-
-
Constructor Details
-
EsbProcessMetaData
public EsbProcessMetaData()
-
-
Method Details
-
of
Get the ESB meta-data on a process - or null if it has none. -
ofOrWithNew
Get the ESB meta-data on a process - creating (and adding) it if the process doesn't have any yet. -
getType
Description copied from class:QSupplementalProcessMetaDataGetter for type- Specified by:
getTypein classQSupplementalProcessMetaData
-
validate
public void validate(QInstance qInstance, QProcessMetaData process, QInstanceValidator qInstanceValidator) Each publication must be to a known destination; each trigger must be valid, and there can be only one trigger per destination.- Overrides:
validatein classQSupplementalProcessMetaData
-
getPublications
Getter for publications -
setPublications
Setter for publications -
withPublications
Fluent setter for publications -
withPublication
Fluent setter to add a single publication -
getTriggers
Getter for triggers -
setTriggers
Setter for triggers -
withTriggers
Fluent setter for triggers -
withTrigger
Fluent setter to add a single trigger
-