Package io.zeebe.client.api.command
Interface DeployWorkflowCommandStep1
-
- All Known Subinterfaces:
DeployWorkflowCommandStep1.DeployWorkflowCommandBuilderStep2
- All Known Implementing Classes:
DeployWorkflowCommandImpl
public interface DeployWorkflowCommandStep1
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
DeployWorkflowCommandStep1.DeployWorkflowCommandBuilderStep2
-
Method Summary
-
-
-
Method Detail
-
addResourceBytes
DeployWorkflowCommandStep1.DeployWorkflowCommandBuilderStep2 addResourceBytes(byte[] resourceBytes, String resourceName)
Add the given resource to the deployment.- Parameters:
resourceBytes
- the workflow resource as byte arrayresourceName
- the name of the resource (e.g. "workflow.bpmn")- Returns:
- the builder for this command. Call
#send()
to complete the command and send it to the broker.
-
addResourceString
DeployWorkflowCommandStep1.DeployWorkflowCommandBuilderStep2 addResourceString(String resourceString, Charset charset, String resourceName)
Add the given resource to the deployment.- Parameters:
resourceString
- the workflow resource as Stringcharset
- the charset of the StringresourceName
- the name of the resource (e.g. "workflow.bpmn")- Returns:
- the builder for this command. Call
#send()
to complete the command and send it to the broker.
-
addResourceStringUtf8
DeployWorkflowCommandStep1.DeployWorkflowCommandBuilderStep2 addResourceStringUtf8(String resourceString, String resourceName)
Add the given resource to the deployment.- Parameters:
resourceString
- the workflow resource as UTF-8-encoded StringresourceName
- the name of the resource (e.g. "workflow.bpmn")- Returns:
- the builder for this command. Call
#send()
to complete the command and send it to the broker.
-
addResourceStream
DeployWorkflowCommandStep1.DeployWorkflowCommandBuilderStep2 addResourceStream(InputStream resourceStream, String resourceName)
Add the given resource to the deployment.- Parameters:
resourceStream
- the workflow resource as streamresourceName
- the name of the resource (e.g. "workflow.bpmn")- Returns:
- the builder for this command. Call
#send()
to complete the command and send it to the broker.
-
addResourceFromClasspath
DeployWorkflowCommandStep1.DeployWorkflowCommandBuilderStep2 addResourceFromClasspath(String classpathResource)
Add the given resource to the deployment.- Parameters:
classpathResource
- the path of the workflow resource in the classpath (e.g. "wf/workflow.bpmn")- Returns:
- the builder for this command. Call
#send()
to complete the command and send it to the broker.
-
addResourceFile
DeployWorkflowCommandStep1.DeployWorkflowCommandBuilderStep2 addResourceFile(String filename)
Add the given resource to the deployment.- Parameters:
filename
- the absolute path of the workflow resource (e.g. "~/wf/workflow.bpmn")- Returns:
- the builder for this command. Call
#send()
to complete the command and send it to the broker.
-
addWorkflowModel
DeployWorkflowCommandStep1.DeployWorkflowCommandBuilderStep2 addWorkflowModel(BpmnModelInstance workflowDefinition, String resourceName)
Add the given workflow to the deployment.- Parameters:
workflowDefinition
- the workflow as modelresourceName
- the name of the resource (e.g. "workflow.bpmn")- Returns:
- the builder for this command. Call
#send()
to complete the command and send it to the broker.
-
-