Package 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
It is also a convenient place holder for additional utility methods
-
Method Summary
Modifier and TypeMethodDescriptionprocessBuilder(String processId) Returns aProcessBuilderthat can be used to create a process definitionbyte[]Converts process definition into an array of bytes.
Typically this array will be converted to a Resource for a KIE base
-
Method Details
-
processBuilder
Returns aProcessBuilderthat 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
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
-