Interface ProcessBuilderFactory

  • public interface ProcessBuilderFactory
    Factory to create process builder instance.
    It is also a convenient place holder for additional utility methods
    • Method Detail

      • processBuilder

        ProcessBuilder processBuilder​(String processId)
        Returns a ProcessBuilder that can be used to create a process definition
        processId - the unique id of the process being defined
        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
        builder - process definition to be converted to byte[]
        byte[] containing process definition