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