org.kie.api.fluent

## Interface ProcessBuilderFactory

-     public interface ProcessBuilderFactory

  Factory to create process builder instance.
  It is also a convenient place holder for additional utility methods

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `ProcessBuilder` | `processBuilder(String processId)` Returns a `ProcessBuilder` that can be used to create a process definition
    `byte[]` | `toBytes(Process builder)` Converts process definition into an array of bytes.

- - ### Method Detail

    - #### processBuilder

          ProcessBuilder processBuilder(String processId)

      Returns a `ProcessBuilder` that can be used to create a process definition
      Parameters:
        `processId` - the unique id of the process being defined
      Returns:
        builder instance to create process definition

    - #### toBytes

          byte[] toBytes(Process builder)

      Converts process definition into an array of bytes.
      Typically this array will be converted to a Resource for a KIE base
      Parameters:
        `builder` - process definition to be converted to byte[]
      Returns:
        byte[] containing process definition

Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.