Interface DeployResourceCommandStep1

All Known Subinterfaces:
DeployResourceCommandStep1.DeployResourceCommandStep2
All Known Implementing Classes:
DeployResourceCommandImpl

public interface DeployResourceCommandStep1
  • Method Details

    • addResourceBytes

      DeployResourceCommandStep1.DeployResourceCommandStep2 addResourceBytes(byte[] resourceBytes, String resourceName)
      Add the given resource to the deployment.
      Parameters:
      resourceBytes - the resource content as byte array
      resourceName - 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 String
      charset - the charset of the String
      resourceName - 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 String
      resourceName - 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 stream
      resourceName - 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 model
      resourceName - 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.