Interface DeployProcessCommandStep1

    • Method Detail

      • addResourceBytes

        DeployProcessCommandStep1.DeployProcessCommandBuilderStep2 addResourceBytes​(byte[] resourceBytes,
                                                                                    String resourceName)
        Add the given resource to the deployment.
        Parameters:
        resourceBytes - the process resource as byte array
        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.
      • addResourceString

        DeployProcessCommandStep1.DeployProcessCommandBuilderStep2 addResourceString​(String resourceString,
                                                                                     Charset charset,
                                                                                     String resourceName)
        Add the given resource to the deployment.
        Parameters:
        resourceString - the process resource as String
        charset - the charset of the String
        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.
      • addResourceStringUtf8

        DeployProcessCommandStep1.DeployProcessCommandBuilderStep2 addResourceStringUtf8​(String resourceString,
                                                                                         String resourceName)
        Add the given resource to the deployment.
        Parameters:
        resourceString - the process resource as UTF-8-encoded String
        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.
      • addResourceStream

        DeployProcessCommandStep1.DeployProcessCommandBuilderStep2 addResourceStream​(InputStream resourceStream,
                                                                                     String resourceName)
        Add the given resource to the deployment.
        Parameters:
        resourceStream - the process resource as stream
        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.
      • 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 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.