Class EventDefinition

    • Constructor Detail

      • EventDefinition

        public EventDefinition()
    • Method Detail

      • getName

        public String getName()
        Event Definition unique name
      • setName

        public void setName​(String name)
        Event Definition unique name
      • getSource

        public String getSource()
        CloudEvent source UUID
      • setSource

        public void setSource​(String source)
        CloudEvent source UUID
      • getType

        public String getType()
        CloudEvent type
      • setType

        public void setType​(String type)
        CloudEvent type
      • getCorrelation

        public List<CorrelationDef> getCorrelation()
        CloudEvent correlation definitions
      • setCorrelation

        public void setCorrelation​(List<CorrelationDef> correlation)
        CloudEvent correlation definitions
      • isDataOnly

        public boolean isDataOnly()
        If `true`, only the Event payload is accessible to consuming Workflow states. If `false`, both event payload and context attributes should be accessible
      • setDataOnly

        public void setDataOnly​(boolean dataOnly)
        If `true`, only the Event payload is accessible to consuming Workflow states. If `false`, both event payload and context attributes should be accessible
      • getKind

        public EventDefinition.Kind getKind()
        Defines the events as either being consumed or produced by the workflow. Default is consumed
      • setKind

        public void setKind​(EventDefinition.Kind kind)
        Defines the events as either being consumed or produced by the workflow. Default is consumed
      • setMetadata

        public void setMetadata​(Map<String,​String> metadata)
        Metadata