schema.states.eventstate.json Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of serverlessworkflow-api Show documentation
Show all versions of serverlessworkflow-api Show documentation
Java SDK for Serverless Workflow Specification
{
"type": "object",
"javaType": "io.serverlessworkflow.api.states.EventState",
"javaInterfaces": [
"io.serverlessworkflow.api.interfaces.State"
],
"description": "This state is used to wait for events from event sources and then to invoke one or more functions to run in sequence or in parallel.",
"extends": {
"$ref": "defaultstate.json"
},
"properties": {
"exclusive": {
"type": "boolean",
"default": true,
"description": "If true consuming one of the defined events causes its associated actions to be performed. If false all of the defined events must be consumed in order for actions to be performed"
},
"onEvents": {
"type": "array",
"description": "Define what events trigger one or more actions to be performed",
"items": {
"type": "object",
"$ref": "../events/onevents.json"
}
}
},
"required": [
"onevents"
]
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy