Package org.kie.api.fluent
Interface ProcessBuilderFactory
- 
 public interface ProcessBuilderFactoryFactory to create process builder instance.
 It is also a convenient place holder for additional utility methods
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description ProcessBuilderprocessBuilder(java.lang.String processId)Returns aProcessBuilderthat can be used to create a process definitionbyte[]toBytes(Process builder)Converts process definition into an array of bytes.
 Typically this array will be converted to a Resource for a KIE base
 
- 
- 
- 
Method Detail- 
processBuilderProcessBuilder processBuilder(java.lang.String processId) 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
 
 - 
toBytesbyte[] 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
 
 
- 
 
-