public interface DeployWorkflowCommandStep1
Modifier and Type | Interface and Description |
---|---|
static interface |
DeployWorkflowCommandStep1.DeployWorkflowCommandBuilderStep2 |
DeployWorkflowCommandStep1.DeployWorkflowCommandBuilderStep2 addResourceBytes(byte[] resourceBytes, String resourceName)
resourceBytes
- the workflow resource as byte arrayresourceName
- the name of the resource (e.g. "workflow.bpmn")#send()
to complete the command and send it
to the broker.DeployWorkflowCommandStep1.DeployWorkflowCommandBuilderStep2 addResourceString(String resourceString, Charset charset, String resourceName)
resourceString
- the workflow resource as Stringcharset
- the charset of the StringresourceName
- the name of the resource (e.g. "workflow.bpmn")#send()
to complete the command and send it
to the broker.DeployWorkflowCommandStep1.DeployWorkflowCommandBuilderStep2 addResourceStringUtf8(String resourceString, String resourceName)
resourceString
- the workflow resource as UTF-8-encoded StringresourceName
- the name of the resource (e.g. "workflow.bpmn")#send()
to complete the command and send it
to the broker.DeployWorkflowCommandStep1.DeployWorkflowCommandBuilderStep2 addResourceStream(InputStream resourceStream, String resourceName)
resourceStream
- the workflow resource as streamresourceName
- the name of the resource (e.g. "workflow.bpmn")#send()
to complete the command and send it
to the broker.DeployWorkflowCommandStep1.DeployWorkflowCommandBuilderStep2 addResourceFromClasspath(String classpathResource)
classpathResource
- the path of the workflow resource in the classpath (e.g.
"wf/workflow.bpmn")#send()
to complete the command and send it
to the broker.DeployWorkflowCommandStep1.DeployWorkflowCommandBuilderStep2 addResourceFile(String filename)
filename
- the absolute path of the workflow resource (e.g. "~/wf/workflow.bpmn")#send()
to complete the command and send it
to the broker.DeployWorkflowCommandStep1.DeployWorkflowCommandBuilderStep2 addWorkflowModel(BpmnModelInstance workflowDefinition, String resourceName)
workflowDefinition
- the workflow as modelresourceName
- the name of the resource (e.g. "workflow.bpmn")#send()
to complete the command and send it
to the broker.Copyright © 2017–2019 camunda services GmbH. All rights reserved.