Package org.drools.base.definitions
Class ProcessPackage
java.lang.Object
org.drools.base.definitions.ProcessPackage
- All Implemented Interfaces:
Serializable,Iterable<Process>,ResourceTypePackage<Process>
A package containing BPM processes
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidstatic ProcessPackageFinds or creates and registers a package in the given registry instanceThe ResourceType forProcessPackageis always BPMN2, but there is no distinction between DRF, and CMMN as they all live under the same package.iterator()voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface org.kie.api.internal.io.ResourceTypePackage
removeResource
-
Constructor Details
-
ProcessPackage
public ProcessPackage()
-
-
Method Details
-
getOrCreate
Finds or creates and registers a package in the given registry instance- Returns:
- the package that has been found
-
getRuleFlows
-
getResourceType
The ResourceType forProcessPackageis always BPMN2, but there is no distinction between DRF, and CMMN as they all live under the same package.- Specified by:
getResourceTypein interfaceResourceTypePackage<Process>
-
lookup
-
add
- Specified by:
addin interfaceResourceTypePackage<Process>
-
iterator
-
remove
-