Interface DeployResourceCommandStep1
- All Known Subinterfaces:
DeployResourceCommandStep1.DeployResourceCommandStep2
- All Known Implementing Classes:
DeployResourceCommandImpl
public interface DeployResourceCommandStep1
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
-
Method Summary
Modifier and TypeMethodDescriptionaddProcessModel
(BpmnModelInstance processDefinition, String resourceName) Add the given process as resource to the deployment.addResourceBytes
(byte[] resourceBytes, String resourceName) Add the given resource to the deployment.addResourceFile
(String filename) Add the given resource to the deployment.addResourceFromClasspath
(String classpathResource) Add the given resource to the deployment.addResourceStream
(InputStream resourceStream, String resourceName) Add the given resource to the deployment.addResourceString
(String resourceString, Charset charset, String resourceName) Add the given resource to the deployment.addResourceStringUtf8
(String resourceString, String resourceName) Add the given resource to the deployment.
-
Method Details
-
addResourceBytes
DeployResourceCommandStep1.DeployResourceCommandStep2 addResourceBytes(byte[] resourceBytes, String resourceName) Add the given resource to the deployment.- Parameters:
resourceBytes
- the resource content as byte arrayresourceName
- the name of the resource (e.g. "process.bpmn" or "decision.dmn")- Returns:
- the builder for this command. Call
#send()
to complete the command and send it to the broker.
-
addResourceString
DeployResourceCommandStep1.DeployResourceCommandStep2 addResourceString(String resourceString, Charset charset, String resourceName) Add the given resource to the deployment.- Parameters:
resourceString
- the resource content as Stringcharset
- the charset of the StringresourceName
- the name of the resource (e.g. "process.bpmn" or "decision.dmn")- Returns:
- the builder for this command. Call
#send()
to complete the command and send it to the broker.
-
addResourceStringUtf8
DeployResourceCommandStep1.DeployResourceCommandStep2 addResourceStringUtf8(String resourceString, String resourceName) Add the given resource to the deployment.- Parameters:
resourceString
- the resource content as UTF-8-encoded StringresourceName
- the name of the resource (e.g. "process.bpmn" or "decision.dmn")- Returns:
- the builder for this command. Call
#send()
to complete the command and send it to the broker.
-
addResourceStream
DeployResourceCommandStep1.DeployResourceCommandStep2 addResourceStream(InputStream resourceStream, String resourceName) Add the given resource to the deployment.- Parameters:
resourceStream
- the resource content as streamresourceName
- the name of the resource (e.g. "process.bpmn" or "decision.dmn")- Returns:
- the builder for this command. Call
#send()
to complete the command and send it to the broker.
-
addResourceFromClasspath
DeployResourceCommandStep1.DeployResourceCommandStep2 addResourceFromClasspath(String classpathResource) Add the given resource to the deployment.- Parameters:
classpathResource
- the path of the resource file in the classpath (e.g. "wf/process.bpmn" or "dmn/decision.dmn")- Returns:
- the builder for this command. Call
#send()
to complete the command and send it to the broker.
-
addResourceFile
Add the given resource to the deployment.- Parameters:
filename
- the absolute path of the resource file (e.g. "~/wf/process.bpmn" or "~/dmn/decision.dmn")- Returns:
- the builder for this command. Call
#send()
to complete the command and send it to the broker.
-
addProcessModel
DeployResourceCommandStep1.DeployResourceCommandStep2 addProcessModel(BpmnModelInstance processDefinition, String resourceName) Add the given process as resource 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.
-