Interface DeployWorkflowCommandStep1

    • Method Detail

      • addResourceBytes

        DeployWorkflowCommandStep1.DeployWorkflowCommandBuilderStep2 addResourceBytes​(byte[] resourceBytes,
                                                                                      String resourceName)
        Add the given resource to the deployment.
        Parameters:
        resourceBytes - the workflow resource as byte array
        resourceName - the name of the resource (e.g. "workflow.bpmn")
        Returns:
        the builder for this command. Call #send() to complete the command and send it to the broker.
      • addResourceString

        DeployWorkflowCommandStep1.DeployWorkflowCommandBuilderStep2 addResourceString​(String resourceString,
                                                                                       Charset charset,
                                                                                       String resourceName)
        Add the given resource to the deployment.
        Parameters:
        resourceString - the workflow resource as String
        charset - the charset of the String
        resourceName - the name of the resource (e.g. "workflow.bpmn")
        Returns:
        the builder for this command. Call #send() to complete the command and send it to the broker.
      • addResourceStringUtf8

        DeployWorkflowCommandStep1.DeployWorkflowCommandBuilderStep2 addResourceStringUtf8​(String resourceString,
                                                                                           String resourceName)
        Add the given resource to the deployment.
        Parameters:
        resourceString - the workflow resource as UTF-8-encoded String
        resourceName - the name of the resource (e.g. "workflow.bpmn")
        Returns:
        the builder for this command. Call #send() to complete the command and send it to the broker.
      • addResourceStream

        DeployWorkflowCommandStep1.DeployWorkflowCommandBuilderStep2 addResourceStream​(InputStream resourceStream,
                                                                                       String resourceName)
        Add the given resource to the deployment.
        Parameters:
        resourceStream - the workflow resource as stream
        resourceName - the name of the resource (e.g. "workflow.bpmn")
        Returns:
        the builder for this command. Call #send() to complete the command and send it to the broker.
      • addResourceFromClasspath

        DeployWorkflowCommandStep1.DeployWorkflowCommandBuilderStep2 addResourceFromClasspath​(String classpathResource)
        Add the given resource to the deployment.
        Parameters:
        classpathResource - the path of the workflow resource in the classpath (e.g. "wf/workflow.bpmn")
        Returns:
        the builder for this command. Call #send() to complete the command and send it to the broker.
      • addResourceFile

        DeployWorkflowCommandStep1.DeployWorkflowCommandBuilderStep2 addResourceFile​(String filename)
        Add the given resource to the deployment.
        Parameters:
        filename - the absolute path of the workflow resource (e.g. "~/wf/workflow.bpmn")
        Returns:
        the builder for this command. Call #send() to complete the command and send it to the broker.
      • addWorkflowModel

        DeployWorkflowCommandStep1.DeployWorkflowCommandBuilderStep2 addWorkflowModel​(BpmnModelInstance workflowDefinition,
                                                                                      String resourceName)
        Add the given workflow to the deployment.
        Parameters:
        workflowDefinition - the workflow as model
        resourceName - the name of the resource (e.g. "workflow.bpmn")
        Returns:
        the builder for this command. Call #send() to complete the command and send it to the broker.