Skip to content
Browse files

Resolve split-packages: move everything from kie-api under org.kie.ap…

…i: move classes directly under org.kie.runtime
  • Loading branch information...
1 parent 7a02a53 commit 7dc7a029229f3fa39024b15a6879ac99e6a1c1b2 @ge0ffrey ge0ffrey committed
Showing with 689 additions and 700 deletions.
  1. +2 −2 jbpm-bam/src/main/java/org/jbpm/process/audit/AbstractAuditLogger.java
  2. +1 −1 jbpm-bam/src/main/java/org/jbpm/process/audit/AuditLoggerFactory.java
  3. +2 −2 jbpm-bam/src/main/java/org/jbpm/process/audit/JPAProcessInstanceDbLog.java
  4. +2 −2 jbpm-bam/src/main/java/org/jbpm/process/audit/JPAWorkingMemoryDbLogger.java
  5. +2 −2 jbpm-bam/src/main/java/org/jbpm/process/audit/event/DefaultAuditEventBuilderImpl.java
  6. +1 −1 jbpm-bam/src/main/java/org/jbpm/process/audit/jms/AsyncAuditLogProducer.java
  7. +6 −6 jbpm-bam/src/test/java/org/jbpm/process/audit/JPAWorkingMemoryDbLoggerTest.java
  8. +2 −2 jbpm-bam/src/test/java/org/jbpm/process/audit/WorkingMemoryDbLoggerTest.java
  9. +4 −4 jbpm-bam/src/test/java/org/jbpm/process/audit/jms/AsyncAuditLogProducerTest.java
  10. +1 −1 jbpm-bpmn2/src/main/java/org/jbpm/bpmn2/handler/AbstractExceptionHandlingTaskHandler.java
  11. +1 −1 jbpm-bpmn2/src/main/java/org/jbpm/bpmn2/handler/LoggingTaskHandlerWrapper.java
  12. +2 −2 jbpm-bpmn2/src/main/java/org/jbpm/bpmn2/handler/ReceiveTaskHandler.java
  13. +3 −3 jbpm-bpmn2/src/main/java/org/jbpm/bpmn2/handler/SendTaskHandler.java
  14. +1 −1 jbpm-bpmn2/src/main/java/org/jbpm/bpmn2/handler/ServiceTaskHandler.java
  15. +2 −2 jbpm-bpmn2/src/main/java/org/jbpm/bpmn2/handler/SignallingTaskHandlerWrapper.java
  16. +1 −1 jbpm-bpmn2/src/main/java/org/jbpm/bpmn2/handler/WorkItemHandlerRuntimeException.java
  17. +4 −4 jbpm-bpmn2/src/main/java/org/jbpm/bpmn2/xml/ProcessHandler.java
  18. +1 −1 jbpm-bpmn2/src/main/java/org/jbpm/bpmn2/xpath/XPATHAssignmentAction.java
  19. +2 −2 jbpm-bpmn2/src/test/java/org/jbpm/bpmn2/BPMN2Test.java
  20. +2 −2 jbpm-bpmn2/src/test/java/org/jbpm/bpmn2/JbpmBpmn2TestCase.java
  21. +1 −1 jbpm-bpmn2/src/test/java/org/jbpm/bpmn2/NewJbpmBpmn2TestBase.java
  22. +1 −1 jbpm-bpmn2/src/test/java/org/jbpm/bpmn2/SignalEventsTest.java
  23. +7 −7 jbpm-bpmn2/src/test/java/org/jbpm/bpmn2/SimpleBPMNProcessTest.java
  24. +2 −2 jbpm-bpmn2/src/test/java/org/jbpm/bpmn2/StandaloneBPMNProcessTest.java
  25. +1 −1 jbpm-bpmn2/src/test/java/org/jbpm/bpmn2/concurrency/MultipleProcessesPerThreadTest.java
  26. +3 −3 jbpm-bpmn2/src/test/java/org/jbpm/bpmn2/concurrency/OneProcessPerThreadTest.java
  27. +1 −1 ...c/test/java/org/jbpm/bpmn2/concurrency/persistence/MultipleProcessesPerThreadPersistenceTest.java
  28. +1 −1 ...pmn2/src/test/java/org/jbpm/bpmn2/concurrency/persistence/OneProcessPerThreadPersistenceTest.java
  29. +1 −1 jbpm-bpmn2/src/test/java/org/jbpm/bpmn2/handler/LoggingTaskHandlerWrapperTest.java
  30. +1 −1 jbpm-bpmn2/src/test/java/org/jbpm/bpmn2/objects/ExceptionService.java
  31. +2 −2 jbpm-bpmn2/src/test/java/org/jbpm/bpmn2/objects/TestWorkItemHandler.java
  32. +2 −2 jbpm-bpmn2/src/test/java/org/jbpm/bpmn2/persistence/BPMN2ProcessTestWithPersistence.java
  33. +1 −1 jbpm-bpmn2/src/test/java/org/jbpm/bpmn2/persistence/DynamicProcessTest.java
  34. +2 −2 jbpm-bpmn2/src/test/java/org/jbpm/bpmn2/persistence/SimplePersistenceBPMNProcessTest.java
  35. +2 −2 jbpm-bpmn2/src/test/java/org/jbpm/bpmn2/persistence/TimerCycleOnBinaryPackageTest.java
  36. +3 −3 jbpm-bpmn2/src/test/java/org/jbpm/bpmn2/persistence/TimerPersistenceTest.java
  37. +3 −3 jbpm-bpmn2/src/test/java/org/jbpm/bpmn2/persistence/UnmarshallingOverdueTimersTest.java
  38. +2 −2 jbpm-bpmn2/src/test/java/org/jbpm/bpmn2/structureref/StructureRefTest.java
  39. +1 −1 jbpm-bpmn2/src/test/resources/BPMN2-ExceptionServiceProcess-ErrorSignalling.bpmn2
  40. +1 −1 jbpm-bpmn2/src/test/resources/BPMN2-ExceptionServiceProcess-Signalling.bpmn2
  41. +2 −2 jbpm-bpmn2/src/test/resources/BPMN2-IntermediateCatchEventConditionFilterByProcessInstance.bpmn2
  42. +16 −16 jbpm-docs/src/main/docbook/en-US/Chapter-DomainSpecificProcesses/Chapter-DomainSpecificProcesses.xml
  43. +1 −1 jbpm-docs/src/main/docbook/en-US/Chapter-Processes/Chapter-Processes.xml
  44. +5 −5 jbpm-examples/src/main/java/org/jbpm/examples/request/ProcessTest.java
  45. +4 −4 jbpm-examples/src/main/java/org/jbpm/examples/request/RequestUI.java
  46. +3 −3 jbpm-examples/src/main/java/org/jbpm/examples/request/UIWorkItemHandler.java
  47. +1 −1 jbpm-examples/src/main/java/org/jbpm/examples/request/UIWorkItemHandlerDialog.java
  48. +5 −5 jbpm-examples/src/test/java/org/jbpm/examples/junit/BPMN2JUnitTests.java
  49. +5 −5 jbpm-examples/src/test/java/org/jbpm/examples/junit/DesignerBPMN2JunitTests.java
  50. +2 −2 jbpm-flow-builder/src/main/java/org/jbpm/process/builder/dialect/mvel/MVELActionBuilder.java
  51. +2 −2 ...-builder/src/main/java/org/jbpm/process/builder/dialect/mvel/MVELReturnValueEvaluatorBuilder.java
  52. +2 −2 jbpm-flow-builder/src/main/resources/org/jbpm/process/builder/dialect/java/javaInvokers.mvel
  53. +4 −4 jbpm-flow-builder/src/main/resources/org/jbpm/process/builder/dialect/java/javaRule.mvel
  54. +2 −2 jbpm-flow-builder/src/test/java/org/jbpm/integrationtests/AgendaFilterTest.java
  55. +1 −1 jbpm-flow-builder/src/test/java/org/jbpm/integrationtests/ExecutionFlowControlTest.java
  56. +4 −4 jbpm-flow-builder/src/test/java/org/jbpm/integrationtests/ProcessActionTest.java
  57. +2 −2 jbpm-flow-builder/src/test/java/org/jbpm/integrationtests/ProcessDynamicNodeTest.java
  58. +1 −1 jbpm-flow-builder/src/test/java/org/jbpm/integrationtests/ProcessEventListenerTest.java
  59. +1 −1 jbpm-flow-builder/src/test/java/org/jbpm/integrationtests/ProcessEventTest.java
  60. +2 −2 jbpm-flow-builder/src/test/java/org/jbpm/integrationtests/ProcessFlowControlTest.java
  61. +3 −3 jbpm-flow-builder/src/test/java/org/jbpm/integrationtests/ProcessForEachTest.java
  62. +1 −1 jbpm-flow-builder/src/test/java/org/jbpm/integrationtests/ProcessHumanTaskTest.java
  63. +1 −1 jbpm-flow-builder/src/test/java/org/jbpm/integrationtests/ProcessMarshallingTest.java
  64. +1 −1 jbpm-flow-builder/src/test/java/org/jbpm/integrationtests/ProcessMultiThreadTest.java
  65. +1 −1 jbpm-flow-builder/src/test/java/org/jbpm/integrationtests/ProcessRuleFlowGroupTest.java
  66. +2 −2 jbpm-flow-builder/src/test/java/org/jbpm/integrationtests/ProcessSplitTest.java
  67. +3 −3 jbpm-flow-builder/src/test/java/org/jbpm/integrationtests/ProcessStateTest.java
  68. +1 −1 jbpm-flow-builder/src/test/java/org/jbpm/integrationtests/ProcessSubProcessTest.java
  69. +1 −1 jbpm-flow-builder/src/test/java/org/jbpm/integrationtests/ProcessTimerTest.java
  70. +1 −1 jbpm-flow-builder/src/test/java/org/jbpm/integrationtests/ProcessWorkItemTest.java
  71. +2 −2 jbpm-flow-builder/src/test/java/org/jbpm/integrationtests/handler/TestWorkItemHandler.java
  72. +1 −1 ...lder/src/test/java/org/jbpm/integrationtests/marshalling/ProcessInstanceResolverStrategyTest.java
  73. +4 −4 jbpm-flow/src/main/java/org/jbpm/marshalling/impl/AbstractProcessInstanceMarshaller.java
  74. +5 −5 jbpm-flow/src/main/java/org/jbpm/marshalling/impl/AbstractProtobufProcessInstanceMarshaller.java
  75. +4 −4 jbpm-flow/src/main/java/org/jbpm/marshalling/impl/ProcessInstanceMarshaller.java
  76. +1 −1 jbpm-flow/src/main/java/org/jbpm/marshalling/impl/ProcessInstanceResolverStrategy.java
  77. +7 −7 jbpm-flow/src/main/java/org/jbpm/marshalling/impl/ProcessMarshallerImpl.java
  78. +7 −7 jbpm-flow/src/main/java/org/jbpm/marshalling/impl/ProtobufProcessMarshaller.java
  79. +2 −2 jbpm-flow/src/main/java/org/jbpm/process/ProcessBaseFactoryService.java
  80. +3 −3 jbpm-flow/src/main/java/org/jbpm/process/ProcessBaseImpl.java
  81. +16 −16 jbpm-flow/src/main/java/org/jbpm/process/StatefulProcessSession.java
  82. +1 −1 jbpm-flow/src/main/java/org/jbpm/process/instance/ProcessInstance.java
  83. +1 −1 jbpm-flow/src/main/java/org/jbpm/process/instance/ProcessInstanceManager.java
  84. +3 −3 jbpm-flow/src/main/java/org/jbpm/process/instance/ProcessRuntimeImpl.java
  85. +1 −1 jbpm-flow/src/main/java/org/jbpm/process/instance/StartProcessHelper.java
  86. +1 −1 jbpm-flow/src/main/java/org/jbpm/process/instance/context/exclusive/ExclusiveGroupInstance.java
  87. +2 −2 jbpm-flow/src/main/java/org/jbpm/process/instance/event/DefaultSignalManager.java
  88. +1 −1 jbpm-flow/src/main/java/org/jbpm/process/instance/event/SignalManager.java
  89. +1 −1 jbpm-flow/src/main/java/org/jbpm/process/instance/impl/Action.java
  90. +1 −1 jbpm-flow/src/main/java/org/jbpm/process/instance/impl/AssignmentAction.java
  91. +3 −3 jbpm-flow/src/main/java/org/jbpm/process/instance/impl/CancelNodeInstanceAction.java
  92. +1 −1 jbpm-flow/src/main/java/org/jbpm/process/instance/impl/DefaultProcessInstanceManager.java
  93. +1 −1 jbpm-flow/src/main/java/org/jbpm/process/instance/impl/MVELAction.java
  94. +1 −1 jbpm-flow/src/main/java/org/jbpm/process/instance/impl/MVELReturnValueEvaluator.java
  95. +1 −1 jbpm-flow/src/main/java/org/jbpm/process/instance/impl/ProcessInstanceImpl.java
  96. +1 −1 jbpm-flow/src/main/java/org/jbpm/process/instance/impl/ReturnValueEvaluator.java
  97. +4 −4 jbpm-flow/src/main/java/org/jbpm/process/instance/impl/RuleAwareProcessEventLister.java
  98. +1 −1 jbpm-flow/src/main/java/org/jbpm/process/instance/impl/RuleConstraintEvaluator.java
  99. +1 −1 jbpm-flow/src/main/java/org/jbpm/process/instance/impl/XPATHReturnValueEvaluator.java
  100. +3 −3 jbpm-flow/src/main/java/org/jbpm/process/instance/impl/demo/DoNothingWorkItemHandler.java
  101. +3 −3 jbpm-flow/src/main/java/org/jbpm/process/instance/impl/demo/SystemOutWorkItemHandler.java
  102. +3 −3 jbpm-flow/src/main/java/org/jbpm/process/instance/impl/demo/UIWorkItemHandler.java
  103. +1 −1 jbpm-flow/src/main/java/org/jbpm/process/instance/impl/demo/UIWorkItemHandlerDialog.java
  104. +1 −1 jbpm-flow/src/main/java/org/jbpm/process/instance/impl/humantask/HumanTaskDialog.java
  105. +3 −3 jbpm-flow/src/main/java/org/jbpm/process/instance/impl/humantask/HumanTaskHandler.java
  106. +2 −2 jbpm-flow/src/main/java/org/jbpm/workflow/instance/NodeInstance.java
  107. +1 −1 jbpm-flow/src/main/java/org/jbpm/workflow/instance/NodeInstanceContainer.java
  108. +2 −2 jbpm-flow/src/main/java/org/jbpm/workflow/instance/WorkflowProcessInstance.java
  109. +2 −2 jbpm-flow/src/main/java/org/jbpm/workflow/instance/WorkflowProcessInstanceUpgrader.java
  110. +1 −1 jbpm-flow/src/main/java/org/jbpm/workflow/instance/WorkflowRuntimeException.java
  111. +1 −4 jbpm-flow/src/main/java/org/jbpm/workflow/instance/impl/ExtendedNodeInstanceImpl.java
  112. +2 −2 jbpm-flow/src/main/java/org/jbpm/workflow/instance/impl/NodeInstanceFactory.java
  113. +2 −2 jbpm-flow/src/main/java/org/jbpm/workflow/instance/impl/NodeInstanceImpl.java
  114. +1 −1 jbpm-flow/src/main/java/org/jbpm/workflow/instance/impl/WorkItemResolverFactory.java
  115. +5 −5 jbpm-flow/src/main/java/org/jbpm/workflow/instance/impl/WorkflowProcessInstanceImpl.java
  116. +2 −2 jbpm-flow/src/main/java/org/jbpm/workflow/instance/impl/factory/CreateNewNodeFactory.java
  117. +2 −2 jbpm-flow/src/main/java/org/jbpm/workflow/instance/impl/factory/ReuseNodeFactory.java
  118. +1 −1 jbpm-flow/src/main/java/org/jbpm/workflow/instance/node/ActionNodeInstance.java
  119. +1 −1 jbpm-flow/src/main/java/org/jbpm/workflow/instance/node/CatchLinkNodeInstance.java
  120. +7 −7 jbpm-flow/src/main/java/org/jbpm/workflow/instance/node/CompositeNodeInstance.java
  121. +1 −1 jbpm-flow/src/main/java/org/jbpm/workflow/instance/node/DynamicNodeInstance.java
  122. +5 −5 jbpm-flow/src/main/java/org/jbpm/workflow/instance/node/DynamicUtils.java
  123. +1 −1 jbpm-flow/src/main/java/org/jbpm/workflow/instance/node/EndNodeInstance.java
  124. +1 −1 jbpm-flow/src/main/java/org/jbpm/workflow/instance/node/EventNodeInstance.java
  125. +1 −1 jbpm-flow/src/main/java/org/jbpm/workflow/instance/node/EventSubProcessNodeInstance.java
  126. +2 −2 jbpm-flow/src/main/java/org/jbpm/workflow/instance/node/FaultNodeInstance.java
  127. +2 −2 jbpm-flow/src/main/java/org/jbpm/workflow/instance/node/ForEachNodeInstance.java
  128. +2 −2 jbpm-flow/src/main/java/org/jbpm/workflow/instance/node/JoinInstance.java
  129. +1 −1 jbpm-flow/src/main/java/org/jbpm/workflow/instance/node/MilestoneNodeInstance.java
  130. +3 −3 jbpm-flow/src/main/java/org/jbpm/workflow/instance/node/RuleSetNodeInstance.java
  131. +2 −2 jbpm-flow/src/main/java/org/jbpm/workflow/instance/node/SplitInstance.java
  132. +1 −2 jbpm-flow/src/main/java/org/jbpm/workflow/instance/node/StartNodeInstance.java
  133. +3 −3 jbpm-flow/src/main/java/org/jbpm/workflow/instance/node/StateBasedNodeInstance.java
  134. +2 −2 jbpm-flow/src/main/java/org/jbpm/workflow/instance/node/StateNodeInstance.java
  135. +2 −2 jbpm-flow/src/main/java/org/jbpm/workflow/instance/node/SubProcessNodeInstance.java
  136. +1 −1 jbpm-flow/src/main/java/org/jbpm/workflow/instance/node/ThrowLinkNodeInstance.java
  137. +2 −2 jbpm-flow/src/main/java/org/jbpm/workflow/instance/node/TimerNodeInstance.java
  138. +2 −2 jbpm-flow/src/main/java/org/jbpm/workflow/instance/node/WorkItemNodeInstance.java
  139. +2 −2 jbpm-flow/src/test/java/org/jbpm/event/process/ProcessEventSupportTest.java
  140. +2 −2 jbpm-flow/src/test/java/org/jbpm/process/EventTest.java
  141. +1 −1 jbpm-flow/src/test/java/org/jbpm/process/ForEachTest.java
  142. +4 −4 jbpm-flow/src/test/java/org/jbpm/process/SubProcessTest.java
  143. +1 −1 jbpm-flow/src/test/java/org/jbpm/process/WorkItemTest.java
  144. +1 −1 jbpm-flow/src/test/java/org/jbpm/workflow/instance/node/MockNodeInstance.java
  145. +2 −2 jbpm-flow/src/test/java/org/jbpm/workflow/instance/node/MockNodeInstanceFactory.java
  146. +1 −1 jbpm-flow/src/test/java/org/jbpm/workflow/instance/node/StartNodeInstanceTest.java
  147. +3 −3 jbpm-gwt/jbpm-gwt-core/src/main/java/org/jbpm/integration/console/CommandDelegate.java
  148. +1 −1 jbpm-gwt/jbpm-gwt-core/src/main/java/org/jbpm/integration/console/ProcessManagement.java
  149. +1 −1 jbpm-gwt/jbpm-gwt-core/src/main/java/org/jbpm/integration/console/StatefulKnowledgeSessionUtil.java
  150. +1 −1 jbpm-gwt/jbpm-gwt-core/src/main/java/org/jbpm/integration/console/Transform.java
  151. +1 −1 ...jbpm-gwt-core/src/main/java/org/jbpm/integration/console/listeners/TriggerRulesEventListener.java
  152. +1 −1 ...-gwt/jbpm-gwt-core/src/main/java/org/jbpm/integration/console/session/AbstractSessionManager.java
  153. +5 −5 ...wt/jbpm-gwt-core/src/main/java/org/jbpm/integration/console/session/MVELSingleSessionManager.java
  154. +1 −1 jbpm-gwt/jbpm-gwt-core/src/main/java/org/jbpm/integration/console/session/SessionManager.java
  155. +2 −2 jbpm-gwt/jbpm-gwt-core/src/test/java/org/jbpm/integration/console/LocalTaskServiceTest.java
  156. +2 −2 jbpm-gwt/jbpm-gwt-core/src/test/java/org/jbpm/integration/console/ProcessManagementTest.java
  157. +1 −1 ...wt/jbpm-gwt-core/src/test/java/org/jbpm/integration/console/StatefulKnowledgeSessionUtilTest.java
  158. +1 −1 jbpm-gwt/jbpm-gwt-core/src/test/java/org/jbpm/integration/console/TransformTest.java
  159. +1 −1 ...-gwt/jbpm-gwt-core/src/test/java/org/jbpm/integration/console/session/MVELSessionManagerTest.java
  160. +3 −3 .../jbpm-human-task-core/src/main/java/org/jbpm/process/workitem/wsht/AbstractHTWorkItemHandler.java
  161. +2 −2 ...m-human-task-core/src/main/java/org/jbpm/process/workitem/wsht/AsyncGenericHTWorkItemHandler.java
  162. +4 −4 ...sk/jbpm-human-task-core/src/main/java/org/jbpm/process/workitem/wsht/AsyncWSHumanTaskHandler.java
  163. +3 −3 ...task-core/src/main/java/org/jbpm/process/workitem/wsht/GenericCommandBasedWSHumanTaskHandler.java
  164. +2 −2 ...k/jbpm-human-task-core/src/main/java/org/jbpm/process/workitem/wsht/GenericHTWorkItemHandler.java
  165. +2 −2 ...ask/jbpm-human-task-core/src/main/java/org/jbpm/process/workitem/wsht/HumanTaskHandlerHelper.java
  166. +2 −2 ...ask/jbpm-human-task-core/src/main/java/org/jbpm/process/workitem/wsht/PeopleAssignmentHelper.java
  167. +3 −3 ...ask/jbpm-human-task-core/src/main/java/org/jbpm/process/workitem/wsht/SyncWSHumanTaskHandler.java
  168. +3 −3 jbpm-human-task/jbpm-human-task-core/src/main/java/org/jbpm/task/WorkItemNotification.java
  169. +2 −2 ...ask/jbpm-human-task-core/src/main/java/org/jbpm/task/service/DefaultEscalatedDeadlineHandler.java
  170. +1 −1 jbpm-human-task/jbpm-human-task-core/src/main/java/org/jbpm/task/service/SyncTaskServiceWrapper.java
  171. +1 −1 jbpm-human-task/jbpm-human-task-core/src/main/java/org/jbpm/task/service/TaskClient.java
  172. +1 −1 jbpm-human-task/jbpm-human-task-core/src/main/java/org/jbpm/task/service/TaskServiceSession.java
  173. +2 −2 ...an-task/jbpm-human-task-core/src/main/java/org/jbpm/task/service/local/LocalHumanTaskService.java
  174. +2 −2 jbpm-human-task/jbpm-human-task-core/src/main/java/org/jbpm/task/service/local/LocalTaskService.java
  175. +2 −2 jbpm-human-task/jbpm-human-task-core/src/main/java/org/jbpm/task/utils/ContentMarshallerHelper.java
  176. +2 −2 ...-task/jbpm-human-task-core/src/test/java/org/jbpm/process/workitem/wsht/MultipleHandlersTest.java
  177. +2 −2 ...jbpm-human-task-core/src/test/java/org/jbpm/process/workitem/wsht/WSHumanTaskHandlerBaseTest.java
  178. +2 −2 ...ore/src/test/java/org/jbpm/process/workitem/wsht/WSHumanTaskHandlerBaseUserGroupCallbackTest.java
  179. +2 −2 ...task-core/src/test/java/org/jbpm/process/workitem/wsht/async/WSHumanTaskHandlerBaseAsyncTest.java
  180. +2 −2 ...n-task-core/src/test/java/org/jbpm/process/workitem/wsht/sync/WSHumanTaskHandlerBaseSyncTest.java
  181. +15 −15 jbpm-human-task/jbpm-human-task-core/src/test/java/org/jbpm/task/TestStatefulKnowledgeSession.java
  182. +1 −1 ...n-task-core/src/test/java/org/jbpm/task/service/base/async/TaskServiceDeadlinesBaseAsyncTest.java
  183. +1 −1 ...est/java/org/jbpm/task/service/base/async/TaskServiceDeadlinesBaseUserGroupCallbackAsyncTest.java
  184. +2 −2 ...jbpm-human-task-core/src/test/java/org/jbpm/task/service/base/sync/TaskLifeCycleBaseSyncTest.java
  185. +1 −1 ...man-task-core/src/test/java/org/jbpm/task/service/base/sync/TaskServiceDeadlinesBaseSyncTest.java
  186. +4 −4 ...test/java/org/jbpm/task/service/persistence/variable/VariablePersistenceStrategiesSyncHTTest.java
  187. +3 −3 ...sk-hornetq/src/main/java/org/jbpm/task/service/hornetq/CommandBasedHornetQWSHumanTaskHandler.java
  188. +2 −2 ...ask-hornetq/src/test/java/org/jbpm/process/workitem/wsht/hornetq/HornetQMultipleHandlersTest.java
  189. +3 −3 ...-human-task-mina/src/main/java/org/jbpm/process/workitem/wsht/CommandBasedWSHumanTaskHandler.java
  190. +3 −3 ...an-task/jbpm-human-task-mina/src/main/java/org/jbpm/process/workitem/wsht/WSHumanTaskHandler.java
  191. +2 −2 ...m-human-task-mina/src/test/java/org/jbpm/process/workitem/wsht/mina/MinaMultipleHandlersTest.java
  192. +4 −4 ...est/java/org/jbpm/task/service/persistence/variable/VariablePersistenceStrategiesASyncHTTest.java
  193. +1 −1 jbpm-installer/sample/evaluation/src/main/java/com/sample/ProcessTest.java
  194. +1 −1 jbpm-persistence-jpa/src/main/java/org/jbpm/persistence/JpaProcessPersistenceContextManager.java
  195. +4 −4 ...persistence-jpa/src/main/java/org/jbpm/persistence/processinstance/JPAProcessInstanceManager.java
  196. +1 −1 jbpm-persistence-jpa/src/main/java/org/jbpm/persistence/processinstance/JPASignalManager.java
  197. +2 −2 jbpm-persistence-jpa/src/main/java/org/jbpm/persistence/processinstance/ProcessInstanceInfo.java
  198. +1 −1 jbpm-persistence-jpa/src/test/java/org/jbpm/marshalling/DebugJbpmUnmarshallingTest.java
  199. +1 −1 jbpm-persistence-jpa/src/test/java/org/jbpm/marshalling/util/MarshallingDBUtil.java
  200. +3 −3 jbpm-persistence-jpa/src/test/java/org/jbpm/marshalling/util/MarshallingTestUtil.java
  201. +5 −5 jbpm-persistence-jpa/src/test/java/org/jbpm/marshalling/util/TestMarshallingUtilsTest.java
  202. +1 −1 jbpm-persistence-jpa/src/test/java/org/jbpm/persistence/correlation/CorrelationPersistenceTest.java
  203. +3 −3 jbpm-persistence-jpa/src/test/java/org/jbpm/persistence/map/impl/JpaBasedPersistenceTest.java
  204. +2 −2 jbpm-persistence-jpa/src/test/java/org/jbpm/persistence/map/impl/MapBasedPersistenceTest.java
  205. +2 −2 jbpm-persistence-jpa/src/test/java/org/jbpm/persistence/map/impl/MapPersistenceTest.java
  206. +1 −1 jbpm-persistence-jpa/src/test/java/org/jbpm/persistence/processinstance/ParameterMappingTest.java
  207. +5 −5 ...e-jpa/src/test/java/org/jbpm/persistence/processinstance/ProcessInstanceResolverStrategyTest.java
  208. +1 −1 jbpm-persistence-jpa/src/test/java/org/jbpm/persistence/session/GetProcessInstancesTest.java
  209. +3 −3 jbpm-persistence-jpa/src/test/java/org/jbpm/persistence/session/PersistentStatefulSessionTest.java
  210. +5 −5 jbpm-persistence-jpa/src/test/java/org/jbpm/persistence/session/SingleSessionCommandServiceTest.java
  211. +6 −6 jbpm-persistence-jpa/src/test/java/org/jbpm/persistence/session/VariablePersistenceStrategyTest.java
  212. +2 −2 jbpm-persistence-jpa/src/test/java/org/jbpm/persistence/session/WorkItemPersistenceTest.java
  213. +3 −3 jbpm-persistence-jpa/src/test/java/org/jbpm/persistence/session/objects/TestWorkItemHandler.java
  214. +3 −3 ...ce-jpa/src/test/java/org/jbpm/persistence/session/objects/VariableCheckerTestWorkItemHandler.java
  215. +3 −3 jbpm-persistence-jpa/src/test/java/org/jbpm/persistence/util/PersistenceUtil.java
  216. +1 −1 jbpm-persistence-jpa/src/test/resources/VPSProcessWithWorkItems.rf
  217. +1 −1 jbpm-persistence-jpa/src/test/resources/VariablePersistenceStrategyProcess.rf
  218. +1 −1 jbpm-persistence-jpa/src/test/resources/VariablePersistenceStrategyProcessTypeChange.rf
  219. +1 −1 jbpm-persistence-jpa/src/test/resources/VariablePersistenceStrategySubProcess.rf
  220. +1 −1 ...oolsjbpm-knowledge-services/src/main/java/org/droolsjbpm/services/api/KnowledgeDomainService.java
  221. +1 −1 ...olsjbpm-knowledge-services/src/main/java/org/droolsjbpm/services/api/WorkItemHandlerProducer.java
  222. +1 −1 ...bpm-knowledge-services/src/main/java/org/droolsjbpm/services/impl/KnowledgeDomainServiceImpl.java
  223. +1 −1 ...pm-knowledge-services/src/main/java/org/droolsjbpm/services/impl/MVELWorkItemHandlerProducer.java
  224. +6 −6 .../droolsjbpm-knowledge-services/src/main/java/org/droolsjbpm/services/impl/SessionManagerImpl.java
  225. +5 −5 .../src/main/java/org/droolsjbpm/services/impl/event/listeners/CDIRuleAwareProcessEventListener.java
  226. +3 −3 ...nowledge-services/src/main/java/org/droolsjbpm/services/impl/example/MoveFileWorkItemHandler.java
  227. +3 −3 ...edge-services/src/main/java/org/droolsjbpm/services/impl/example/NotificationWorkItemHandler.java
  228. +3 −3 ...edge-services/src/main/java/org/droolsjbpm/services/impl/example/TriggerTestsWorkItemHandler.java
  229. +16 −16 ...bpm-knowledge-services/src/main/java/org/droolsjbpm/services/impl/helpers/KieSessionDelegate.java
  230. +5 −5 ...knowledge-services/src/test/java/org/droolsjbpm/services/test/DomainKnowledgeServiceBaseTest.java
  231. +6 −6 ...-services/src/test/java/org/droolsjbpm/services/test/DomainKnowledgeServiceWithRulesBaseTest.java
  232. +2 −2 ...m-knowledge-services/src/test/java/org/droolsjbpm/services/test/KnowledgeDataServiceBaseTest.java
  233. +1 −1 ...olsjbpm-knowledge-services/src/test/java/org/droolsjbpm/services/test/ReleaseProcessBaseTest.java
  234. +1 −1 ...roolsjbpm-knowledge-services/src/test/java/org/droolsjbpm/services/test/ci/AbstractKieCiTest.java
  235. +1 −1 ...pm-knowledge-services/src/test/java/org/droolsjbpm/services/test/ci/SessionMGMTandCIBaseTest.java
  236. +1 −1 ...-services/src/test/java/org/droolsjbpm/services/test/sessionmgmt/SimpleSessionManagementTest.java
  237. +1 −1 ...knowledge-services/src/test/java/org/droolsjbpm/services/test/support/SupportProcessBaseTest.java
  238. +2 −2 ...nowledge-services/src/test/java/org/droolsjbpm/services/wih/events/HTWorkItemHandlerBaseTest.java
  239. +16 −16 ...roolsjbpm-knowledge-services/src/test/java/org/droolsjbpm/services/wih/events/TestKieSession.java
  240. +1 −4 ...-services/src/test/java/org/droolsjbpm/services/wih/test/DomainKnowledgeServiceWorkItemsTest.java
  241. +2 −6 ...-services/jbpm-human-task-services/src/main/java/org/jbpm/task/impl/TaskDeadlinesServiceImpl.java
  242. +2 −2 ...-services/jbpm-human-task-services/src/main/java/org/jbpm/task/utils/ContentMarshallerHelper.java
  243. +5 −5 ...services/jbpm-human-task-workitems/src/main/java/org/jbpm/task/wih/AbstractHTWorkItemHandler.java
  244. +1 −1 ...services/jbpm-human-task-workitems/src/main/java/org/jbpm/task/wih/ExternalTaskEventListener.java
  245. +1 −1 ...-services/jbpm-human-task-workitems/src/main/java/org/jbpm/task/wih/HTWorkItemHandlerFactory.java
  246. +3 −3 jbpm-services/jbpm-human-task-workitems/src/main/java/org/jbpm/task/wih/LocalHTWorkItemHandler.java
  247. +2 −2 ...rvices/jbpm-human-task-workitems/src/main/java/org/jbpm/task/wih/util/HumanTaskHandlerHelper.java
  248. +2 −2 ...rvices/jbpm-human-task-workitems/src/main/java/org/jbpm/task/wih/util/PeopleAssignmentHelper.java
  249. +15 −15 ...ices/jbpm-human-task-workitems/src/test/java/org/jbpm/task/test/TestStatefulKnowledgeSession.java
  250. +2 −2 ...services/jbpm-human-task-workitems/src/test/java/org/jbpm/task/wih/HTWorkItemHandlerBaseTest.java
  251. +1 −1 jbpm-services/jbpm-human-task-workitems/src/test/java/org/jbpm/task/wih/TestSessionManager.java
  252. +2 −2 ...vices/jbpm-shared-services/src/main/java/org/jbpm/shared/services/api/ServicesSessionManager.java
  253. +1 −1 jbpm-services/jbpm-shared-services/src/main/java/org/jbpm/shared/services/api/SessionManager.java
  254. +2 −2 jbpm-test/src/main/java/org/jbpm/test/JBPMHelper.java
  255. +11 −11 jbpm-test/src/main/java/org/jbpm/test/JbpmJUnitTestCase.java
  256. +1 −1 jbpm-test/src/test/java/org/jbpm/ProcessHumanTaskTest.java
  257. +1 −1 jbpm-test/src/test/java/org/jbpm/ProcessPersistenceHumanTaskOnLaneTest.java
  258. +1 −1 jbpm-test/src/test/java/org/jbpm/ProcessPersistenceHumanTaskTest.java
  259. +1 −1 jbpm-test/src/test/java/org/jbpm/ProcessPersistenceTest.java
  260. +1 −1 jbpm-test/src/test/java/org/jbpm/ProcessTest.java
  261. +1 −1 jbpm-test/src/test/java/org/jbpm/persistence/AbstractStartProcessWithCorrelationKeyTest.java
  262. +1 −1 jbpm-test/src/test/java/org/jbpm/persistence/PatientVariablePersistenceStrategyTest.java
  263. +1 −1 jbpm-test/src/test/java/org/jbpm/persistence/SerializedTimerRollbackTest.java
  264. +1 −1 jbpm-test/src/test/java/org/jbpm/persistence/SupportProcessTest.java
  265. +7 −7 jbpm-test/src/test/java/org/jbpm/persistence/timer/TimerPersistenceTest.java
  266. +1 −1 jbpm-test/src/test/java/org/jbpm/tasks/LocalTasksServiceTest.java
  267. +1 −1 jbpm-test/src/test/java/org/jbpm/tasks/admin/AdminAPIsWithListenerTest.java
  268. +1 −1 jbpm-workitems/src/main/java/org/jbpm/process/workitem/AbstractLogOrThrowWorkItemHandler.java
  269. +1 −1 jbpm-workitems/src/main/java/org/jbpm/process/workitem/AbstractWorkItemHandler.java
  270. +2 −2 jbpm-workitems/src/main/java/org/jbpm/process/workitem/archive/ArchiveWorkItemHandler.java
  271. +3 −3 jbpm-workitems/src/main/java/org/jbpm/process/workitem/bpmn2/ServiceTaskHandler.java
  272. +2 −2 jbpm-workitems/src/main/java/org/jbpm/process/workitem/email/EmailWorkItemHandler.java
  273. +2 −2 jbpm-workitems/src/main/java/org/jbpm/process/workitem/exec/ExecWorkItemHandler.java
  274. +2 −2 jbpm-workitems/src/main/java/org/jbpm/process/workitem/ftp/FTPUploadWorkItemHandler.java
  275. +1 −1 jbpm-workitems/src/main/java/org/jbpm/process/workitem/handler/JavaHandler.java
  276. +5 −5 jbpm-workitems/src/main/java/org/jbpm/process/workitem/handler/JavaHandlerWorkItemHandler.java
  277. +2 −2 jbpm-workitems/src/main/java/org/jbpm/process/workitem/jabber/JabberWorkItemHandler.java
  278. +3 −3 jbpm-workitems/src/main/java/org/jbpm/process/workitem/java/JavaInvocationWorkItemHandler.java
  279. +2 −2 jbpm-workitems/src/main/java/org/jbpm/process/workitem/rest/RestGeoCodeApiCallWorkItemHandler.java
  280. +2 −2 jbpm-workitems/src/main/java/org/jbpm/process/workitem/rss/RSSWorkItemHandler.java
  281. +2 −2 jbpm-workitems/src/main/java/org/jbpm/process/workitem/transform/TransformWorkItemHandler.java
  282. +3 −3 jbpm-workitems/src/test/java/org/jbpm/process/workitem/bpmn2/JaxWSServiceTaskTest.java
  283. +1 −1 jbpm-workitems/src/test/java/org/jbpm/process/workitem/email/EmailWorkItemHandlerTest.java
  284. +1 −1 jbpm-workitems/src/test/java/org/jbpm/process/workitem/email/SendHtmlTest.java
  285. +1 −1 jbpm-workitems/src/test/java/org/jbpm/process/workitem/handler/HandlerTest.java
  286. +1 −1 jbpm-workitems/src/test/java/org/jbpm/process/workitem/handler/RecordHandler.java
  287. +1 −1 jbpm-workitems/src/test/java/org/jbpm/process/workitem/jabber/JabberWorkItemHandlerTest.java
  288. +1 −1 jbpm-workitems/src/test/java/org/jbpm/process/workitem/java/JavaInvokerTest.java
  289. +1 −1 jbpm-workitems/src/test/java/org/jbpm/process/workitem/rss/RSSWorkItemHandlerTest.java
View
4 jbpm-bam/src/main/java/org/jbpm/process/audit/AbstractAuditLogger.java
@@ -6,8 +6,8 @@
import org.jbpm.process.audit.event.DefaultAuditEventBuilderImpl;
import org.kie.api.event.process.ProcessEventListener;
import org.kie.internal.runtime.KnowledgeRuntime;
-import org.kie.runtime.Environment;
-import org.kie.runtime.KieSession;
+import org.kie.api.runtime.Environment;
+import org.kie.api.runtime.KieSession;
public abstract class AbstractAuditLogger implements ProcessEventListener {
View
2 jbpm-bam/src/main/java/org/jbpm/process/audit/AuditLoggerFactory.java
@@ -8,7 +8,7 @@
import javax.naming.NamingException;
import org.jbpm.process.audit.jms.AsyncAuditLogProducer;
-import org.kie.runtime.KieSession;
+import org.kie.api.runtime.KieSession;
/**
* Factory for producing support audit loggers. Currently two types are available:
View
4 jbpm-bam/src/main/java/org/jbpm/process/audit/JPAProcessInstanceDbLog.java
@@ -29,8 +29,8 @@
import javax.transaction.UserTransaction;
import org.drools.persistence.TransactionManager;
-import org.kie.runtime.Environment;
-import org.kie.runtime.EnvironmentName;
+import org.kie.api.runtime.Environment;
+import org.kie.api.runtime.EnvironmentName;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
View
4 jbpm-bam/src/main/java/org/jbpm/process/audit/JPAWorkingMemoryDbLogger.java
@@ -37,8 +37,8 @@
import org.kie.api.event.process.ProcessNodeTriggeredEvent;
import org.kie.api.event.process.ProcessStartedEvent;
import org.kie.api.event.process.ProcessVariableChangedEvent;
-import org.kie.runtime.EnvironmentName;
-import org.kie.runtime.KieSession;
+import org.kie.api.runtime.EnvironmentName;
+import org.kie.api.runtime.KieSession;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
View
4 jbpm-bam/src/main/java/org/jbpm/process/audit/event/DefaultAuditEventBuilderImpl.java
@@ -14,8 +14,8 @@
import org.kie.api.event.process.ProcessNodeTriggeredEvent;
import org.kie.api.event.process.ProcessStartedEvent;
import org.kie.api.event.process.ProcessVariableChangedEvent;
-import org.kie.runtime.KieSession;
-import org.kie.runtime.process.ProcessInstance;
+import org.kie.api.runtime.KieSession;
+import org.kie.api.runtime.process.ProcessInstance;
public class DefaultAuditEventBuilderImpl implements AuditEventBuilder {
View
2 jbpm-bam/src/main/java/org/jbpm/process/audit/jms/AsyncAuditLogProducer.java
@@ -17,7 +17,7 @@
import org.kie.api.event.process.ProcessNodeTriggeredEvent;
import org.kie.api.event.process.ProcessStartedEvent;
import org.kie.api.event.process.ProcessVariableChangedEvent;
-import org.kie.runtime.KieSession;
+import org.kie.api.runtime.KieSession;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
View
12 jbpm-bam/src/test/java/org/jbpm/process/audit/JPAWorkingMemoryDbLoggerTest.java
@@ -43,12 +43,12 @@
import org.kie.internal.runtime.StatefulKnowledgeSession;
import org.kie.api.io.ResourceType;
import org.kie.internal.persistence.jpa.JPAKnowledgeService;
-import org.kie.runtime.Environment;
-import org.kie.runtime.KieSessionConfiguration;
-import org.kie.runtime.process.ProcessInstance;
-import org.kie.runtime.process.WorkItem;
-import org.kie.runtime.process.WorkItemHandler;
-import org.kie.runtime.process.WorkItemManager;
+import org.kie.api.runtime.Environment;
+import org.kie.api.runtime.KieSessionConfiguration;
+import org.kie.api.runtime.process.ProcessInstance;
+import org.kie.api.runtime.process.WorkItem;
+import org.kie.api.runtime.process.WorkItemHandler;
+import org.kie.api.runtime.process.WorkItemManager;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
View
4 jbpm-bam/src/test/java/org/jbpm/process/audit/WorkingMemoryDbLoggerTest.java
@@ -41,8 +41,8 @@
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
-import org.kie.runtime.Environment;
-import org.kie.runtime.EnvironmentName;
+import org.kie.api.runtime.Environment;
+import org.kie.api.runtime.EnvironmentName;
import bitronix.tm.BitronixTransactionManager;
import bitronix.tm.TransactionManagerServices;
View
8 jbpm-bam/src/test/java/org/jbpm/process/audit/jms/AsyncAuditLogProducerTest.java
@@ -45,10 +45,10 @@
import org.kie.internal.runtime.StatefulKnowledgeSession;
import org.kie.api.io.ResourceType;
import org.kie.internal.persistence.jpa.JPAKnowledgeService;
-import org.kie.runtime.Environment;
-import org.kie.runtime.EnvironmentName;
-import org.kie.runtime.KieSessionConfiguration;
-import org.kie.runtime.process.ProcessInstance;
+import org.kie.api.runtime.Environment;
+import org.kie.api.runtime.EnvironmentName;
+import org.kie.api.runtime.KieSessionConfiguration;
+import org.kie.api.runtime.process.ProcessInstance;
import bitronix.tm.resource.jms.PoolingConnectionFactory;
View
2 jbpm-bpmn2/src/main/java/org/jbpm/bpmn2/handler/AbstractExceptionHandlingTaskHandler.java
@@ -1,6 +1,6 @@
package org.jbpm.bpmn2.handler;
-import org.kie.runtime.process.*;
+import org.kie.api.runtime.process.*;
public abstract class AbstractExceptionHandlingTaskHandler implements WorkItemHandler {
View
2 jbpm-bpmn2/src/main/java/org/jbpm/bpmn2/handler/LoggingTaskHandlerWrapper.java
@@ -3,7 +3,7 @@
import java.text.MessageFormat;
import java.util.*;
-import org.kie.runtime.process.*;
+import org.kie.api.runtime.process.*;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
View
4 jbpm-bpmn2/src/main/java/org/jbpm/bpmn2/handler/ReceiveTaskHandler.java
@@ -19,8 +19,8 @@
import java.util.HashMap;
import java.util.Map;
-import org.kie.runtime.KieSession;
-import org.kie.runtime.process.*;
+import org.kie.api.runtime.KieSession;
+import org.kie.api.runtime.process.*;
public class ReceiveTaskHandler implements WorkItemHandler {
View
6 jbpm-bpmn2/src/main/java/org/jbpm/bpmn2/handler/SendTaskHandler.java
@@ -16,9 +16,9 @@
package org.jbpm.bpmn2.handler;
-import org.kie.runtime.process.WorkItem;
-import org.kie.runtime.process.WorkItemHandler;
-import org.kie.runtime.process.WorkItemManager;
+import org.kie.api.runtime.process.WorkItem;
+import org.kie.api.runtime.process.WorkItemHandler;
+import org.kie.api.runtime.process.WorkItemManager;
public class SendTaskHandler implements WorkItemHandler {
View
2 jbpm-bpmn2/src/main/java/org/jbpm/bpmn2/handler/ServiceTaskHandler.java
@@ -21,7 +21,7 @@
import java.util.HashMap;
import java.util.Map;
-import org.kie.runtime.process.*;
+import org.kie.api.runtime.process.*;
public class ServiceTaskHandler implements WorkItemHandler {
View
4 jbpm-bpmn2/src/main/java/org/jbpm/bpmn2/handler/SignallingTaskHandlerWrapper.java
@@ -1,7 +1,7 @@
package org.jbpm.bpmn2.handler;
-import org.kie.runtime.KieSession;
-import org.kie.runtime.process.*;
+import org.kie.api.runtime.KieSession;
+import org.kie.api.runtime.process.*;
public class SignallingTaskHandlerWrapper extends AbstractExceptionHandlingTaskHandler {
View
2 jbpm-bpmn2/src/main/java/org/jbpm/bpmn2/handler/WorkItemHandlerRuntimeException.java
@@ -17,7 +17,7 @@
import java.util.*;
-import org.kie.runtime.process.WorkItemHandler;
+import org.kie.api.runtime.process.WorkItemHandler;
/**
View
8 jbpm-bpmn2/src/main/java/org/jbpm/bpmn2/xml/ProcessHandler.java
@@ -371,9 +371,9 @@ public static void linkBoundaryEvents(NodeContainer nodeContainer) {
action = new DroolsConsequenceAction("java",
- (cancelActivity ? "org.kie.runtime.process.WorkflowProcessInstance pi = (org.kie.runtime.process.WorkflowProcessInstance) kcontext.getProcessInstance();"+
+ (cancelActivity ? "org.kie.api.runtime.process.WorkflowProcessInstance pi = (org.kie.api.runtime.process.WorkflowProcessInstance) kcontext.getProcessInstance();"+
"long nodeInstanceId = -1;"+
- "for (org.kie.runtime.process.NodeInstance nodeInstance : pi.getNodeInstances()) {"+
+ "for (org.kie.api.runtime.process.NodeInstance nodeInstance : pi.getNodeInstances()) {"+
" if (" +attachedToNodeId +" == nodeInstance.getNodeId()) {"+
" nodeInstanceId = nodeInstance.getId();"+
" break;"+
@@ -411,9 +411,9 @@ public static void linkBoundaryEvents(NodeContainer nodeContainer) {
action = new DroolsConsequenceAction("java",
- "org.kie.runtime.process.WorkflowProcessInstance pi = (org.kie.runtime.process.WorkflowProcessInstance) kcontext.getProcessInstance();"+
+ "org.kie.api.runtime.process.WorkflowProcessInstance pi = (org.kie.api.runtime.process.WorkflowProcessInstance) kcontext.getProcessInstance();"+
"long nodeInstanceId = -1;"+
- "for (org.kie.runtime.process.NodeInstance nodeInstance : pi.getNodeInstances()) {"+
+ "for (org.kie.api.runtime.process.NodeInstance nodeInstance : pi.getNodeInstances()) {"+
" if (" +attachedToNodeId +" == nodeInstance.getNodeId()) {"+
" nodeInstanceId = nodeInstance.getId();"+
View
2 jbpm-bpmn2/src/main/java/org/jbpm/bpmn2/xpath/XPATHAssignmentAction.java
@@ -10,7 +10,7 @@
import org.drools.core.process.instance.WorkItem;
import org.jbpm.process.instance.impl.AssignmentAction;
import org.jbpm.workflow.core.node.Assignment;
-import org.kie.runtime.process.ProcessContext;
+import org.kie.api.runtime.process.ProcessContext;
import org.w3c.dom.Attr;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
View
4 jbpm-bpmn2/src/test/java/org/jbpm/bpmn2/BPMN2Test.java
@@ -26,8 +26,8 @@
import org.kie.internal.io.ResourceFactory;
import org.kie.internal.runtime.StatefulKnowledgeSession;
import org.kie.api.io.ResourceType;
-import org.kie.runtime.KieSessionConfiguration;
-import org.kie.runtime.process.ProcessInstance;
+import org.kie.api.runtime.KieSessionConfiguration;
+import org.kie.api.runtime.process.ProcessInstance;
public class BPMN2Test extends JbpmBpmn2TestCase {
View
4 jbpm-bpmn2/src/test/java/org/jbpm/bpmn2/JbpmBpmn2TestCase.java
@@ -26,8 +26,8 @@
import org.kie.internal.runtime.StatefulKnowledgeSession;
import org.kie.api.io.ResourceType;
import org.kie.internal.persistence.jpa.JPAKnowledgeService;
-import org.kie.runtime.*;
-import org.kie.runtime.process.*;
+import org.kie.api.runtime.*;
+import org.kie.api.runtime.process.*;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
View
2 jbpm-bpmn2/src/test/java/org/jbpm/bpmn2/NewJbpmBpmn2TestBase.java
@@ -26,7 +26,7 @@
import org.kie.internal.builder.KnowledgeBuilderFactory;
import org.kie.internal.io.ResourceFactory;
import org.kie.api.io.ResourceType;
-import org.kie.runtime.KieSession;
+import org.kie.api.runtime.KieSession;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
View
2 jbpm-bpmn2/src/test/java/org/jbpm/bpmn2/SignalEventsTest.java
@@ -8,7 +8,7 @@
import org.kie.api.event.process.DefaultProcessEventListener;
import org.kie.api.event.process.ProcessStartedEvent;
import org.kie.internal.runtime.StatefulKnowledgeSession;
-import org.kie.runtime.process.ProcessInstance;
+import org.kie.api.runtime.process.ProcessInstance;
public class SignalEventsTest extends JbpmBpmn2TestCase {
View
14 jbpm-bpmn2/src/test/java/org/jbpm/bpmn2/SimpleBPMNProcessTest.java
@@ -79,13 +79,13 @@
import org.kie.internal.io.ResourceFactory;
import org.kie.internal.runtime.StatefulKnowledgeSession;
import org.kie.api.io.ResourceType;
-import org.kie.runtime.process.NodeInstance;
-import org.kie.runtime.process.ProcessInstance;
-import org.kie.runtime.process.WorkItem;
-import org.kie.runtime.process.WorkItemHandler;
-import org.kie.runtime.process.WorkItemManager;
-import org.kie.runtime.process.WorkflowProcessInstance;
-import org.kie.runtime.rule.FactHandle;
+import org.kie.api.runtime.process.NodeInstance;
+import org.kie.api.runtime.process.ProcessInstance;
+import org.kie.api.runtime.process.WorkItem;
+import org.kie.api.runtime.process.WorkItemHandler;
+import org.kie.api.runtime.process.WorkItemManager;
+import org.kie.api.runtime.process.WorkflowProcessInstance;
+import org.kie.api.runtime.rule.FactHandle;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.w3c.dom.Attr;
View
4 jbpm-bpmn2/src/test/java/org/jbpm/bpmn2/StandaloneBPMNProcessTest.java
@@ -39,8 +39,8 @@
import org.kie.internal.builder.KnowledgeBuilderFactory;
import org.kie.internal.io.ResourceFactory;
import org.kie.api.io.ResourceType;
-import org.kie.runtime.KieSession;
-import org.kie.runtime.process.*;
+import org.kie.api.runtime.KieSession;
+import org.kie.api.runtime.process.*;
import org.w3c.dom.Document;
public class StandaloneBPMNProcessTest extends NewJbpmBpmn2TestBase {
View
2 jbpm-bpmn2/src/test/java/org/jbpm/bpmn2/concurrency/MultipleProcessesPerThreadTest.java
@@ -18,7 +18,7 @@
import org.kie.internal.io.ResourceFactory;
import org.kie.internal.runtime.StatefulKnowledgeSession;
import org.kie.api.io.ResourceType;
-import org.kie.runtime.process.WorkItem;
+import org.kie.api.runtime.process.WorkItem;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
View
6 jbpm-bpmn2/src/test/java/org/jbpm/bpmn2/concurrency/OneProcessPerThreadTest.java
@@ -17,9 +17,9 @@
import org.kie.internal.io.ResourceFactory;
import org.kie.internal.runtime.StatefulKnowledgeSession;
import org.kie.api.io.ResourceType;
-import org.kie.runtime.process.WorkItem;
-import org.kie.runtime.process.WorkItemHandler;
-import org.kie.runtime.process.WorkItemManager;
+import org.kie.api.runtime.process.WorkItem;
+import org.kie.api.runtime.process.WorkItemHandler;
+import org.kie.api.runtime.process.WorkItemManager;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
View
2 ...ava/org/jbpm/bpmn2/concurrency/persistence/MultipleProcessesPerThreadPersistenceTest.java
@@ -14,7 +14,7 @@
import org.kie.internal.KnowledgeBase;
import org.kie.internal.persistence.jpa.JPAKnowledgeService;
import org.kie.internal.runtime.StatefulKnowledgeSession;
-import org.kie.runtime.Environment;
+import org.kie.api.runtime.Environment;
/**
* Class to reproduce bug with multiple threads using persistence and each
View
2 .../test/java/org/jbpm/bpmn2/concurrency/persistence/OneProcessPerThreadPersistenceTest.java
@@ -14,7 +14,7 @@
import org.kie.internal.KnowledgeBase;
import org.kie.internal.persistence.jpa.JPAKnowledgeService;
import org.kie.internal.runtime.StatefulKnowledgeSession;
-import org.kie.runtime.Environment;
+import org.kie.api.runtime.Environment;
/**
* Class to reproduce bug with multiple threads using persistence and each
View
2 jbpm-bpmn2/src/test/java/org/jbpm/bpmn2/handler/LoggingTaskHandlerWrapperTest.java
@@ -33,7 +33,7 @@
import org.kie.internal.builder.KnowledgeBuilderFactory;
import org.kie.internal.io.ResourceFactory;
import org.kie.api.io.ResourceType;
-import org.kie.runtime.KieSession;
+import org.kie.api.runtime.KieSession;
public class LoggingTaskHandlerWrapperTest extends Assert {
View
2 jbpm-bpmn2/src/test/java/org/jbpm/bpmn2/objects/ExceptionService.java
@@ -16,7 +16,7 @@
package org.jbpm.bpmn2.objects;
-import org.kie.runtime.process.WorkItem;
+import org.kie.api.runtime.process.WorkItem;
public class ExceptionService {
View
4 jbpm-bpmn2/src/test/java/org/jbpm/bpmn2/objects/TestWorkItemHandler.java
@@ -3,7 +3,7 @@
import java.util.ArrayList;
import java.util.List;
-import org.kie.runtime.process.*;
+import org.kie.api.runtime.process.*;
public class TestWorkItemHandler implements WorkItemHandler {
@@ -35,4 +35,4 @@ public WorkItem getWorkItem() {
return result;
}
-}
+}
View
4 jbpm-bpmn2/src/test/java/org/jbpm/bpmn2/persistence/BPMN2ProcessTestWithPersistence.java
@@ -29,8 +29,8 @@
import org.kie.internal.io.ResourceFactory;
import org.kie.api.io.ResourceType;
import org.kie.internal.runtime.StatefulKnowledgeSession;
-import org.kie.runtime.process.ProcessInstance;
-import org.kie.runtime.process.WorkflowProcessInstance;
+import org.kie.api.runtime.process.ProcessInstance;
+import org.kie.api.runtime.process.WorkflowProcessInstance;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
View
2 jbpm-bpmn2/src/test/java/org/jbpm/bpmn2/persistence/DynamicProcessTest.java
@@ -31,7 +31,7 @@
import org.kie.internal.io.ResourceFactory;
import org.kie.internal.runtime.StatefulKnowledgeSession;
import org.kie.api.io.ResourceType;
-import org.kie.runtime.Environment;
+import org.kie.api.runtime.Environment;
/**
* This is a sample file to launch a process.
View
4 jbpm-bpmn2/src/test/java/org/jbpm/bpmn2/persistence/SimplePersistenceBPMNProcessTest.java
@@ -39,8 +39,8 @@
import org.kie.internal.runtime.StatefulKnowledgeSession;
import org.kie.api.io.ResourceType;
import org.kie.internal.persistence.jpa.JPAKnowledgeService;
-import org.kie.runtime.*;
-import org.kie.runtime.process.*;
+import org.kie.api.runtime.*;
+import org.kie.api.runtime.process.*;
public class SimplePersistenceBPMNProcessTest extends JbpmBpmn2TestCase {
View
4 jbpm-bpmn2/src/test/java/org/jbpm/bpmn2/persistence/TimerCycleOnBinaryPackageTest.java
@@ -45,8 +45,8 @@
import org.kie.internal.runtime.StatefulKnowledgeSession;
import org.kie.api.io.ResourceType;
import org.kie.internal.persistence.jpa.JPAKnowledgeService;
-import org.kie.runtime.Environment;
-import org.kie.runtime.EnvironmentName;
+import org.kie.api.runtime.Environment;
+import org.kie.api.runtime.EnvironmentName;
public class TimerCycleOnBinaryPackageTest {
View
6 jbpm-bpmn2/src/test/java/org/jbpm/bpmn2/persistence/TimerPersistenceTest.java
@@ -40,10 +40,10 @@
import org.kie.internal.io.ResourceFactory;
import org.kie.api.io.ResourceType;
import org.kie.internal.persistence.jpa.JPAKnowledgeService;
-import org.kie.runtime.Environment;
-import org.kie.runtime.EnvironmentName;
+import org.kie.api.runtime.Environment;
+import org.kie.api.runtime.EnvironmentName;
import org.kie.internal.runtime.StatefulKnowledgeSession;
-import org.kie.runtime.process.ProcessInstance;
+import org.kie.api.runtime.process.ProcessInstance;
public class TimerPersistenceTest {
View
6 jbpm-bpmn2/src/test/java/org/jbpm/bpmn2/persistence/UnmarshallingOverdueTimersTest.java
@@ -24,9 +24,9 @@
import org.kie.internal.runtime.StatefulKnowledgeSession;
import org.kie.api.io.ResourceType;
import org.kie.internal.persistence.jpa.JPAKnowledgeService;
-import org.kie.runtime.Environment;
-import org.kie.runtime.KieSessionConfiguration;
-import org.kie.runtime.process.ProcessInstance;
+import org.kie.api.runtime.Environment;
+import org.kie.api.runtime.KieSessionConfiguration;
+import org.kie.api.runtime.process.ProcessInstance;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
View
4 jbpm-bpmn2/src/test/java/org/jbpm/bpmn2/structureref/StructureRefTest.java
@@ -22,8 +22,8 @@
import org.jbpm.bpmn2.objects.TestWorkItemHandler;
import org.junit.Test;
import org.kie.api.KieBase;
-import org.kie.runtime.KieSession;
-import org.kie.runtime.process.ProcessInstance;
+import org.kie.api.runtime.KieSession;
+import org.kie.api.runtime.process.ProcessInstance;
public class StructureRefTest extends NewJbpmBpmn2TestBase {
View
2 jbpm-bpmn2/src/test/resources/BPMN2-ExceptionServiceProcess-ErrorSignalling.bpmn2
@@ -22,7 +22,7 @@
</interface>
<error id="_exception" errorCode="code" structureRef="_exceptionItem" />
- <itemDefinition id="_exceptionItem" structureRef="org.kie.runtime.process.WorkItem"/>
+ <itemDefinition id="_exceptionItem" structureRef="org.kie.api.runtime.process.WorkItem"/>
<message id="_exceptionMessage" itemRef="_exceptionItem" />
<interface id="_handlingServiceInterface" name="org.jbpm.bpmn2.objects.ExceptionService">
View
2 jbpm-bpmn2/src/test/resources/BPMN2-ExceptionServiceProcess-Signalling.bpmn2
@@ -22,7 +22,7 @@
</interface>
<signal id="exception-signal" structureRef="_exceptionItem" />
- <itemDefinition id="_exceptionItem" structureRef="org.kie.runtime.process.WorkItem"/>
+ <itemDefinition id="_exceptionItem" structureRef="org.kie.api.runtime.process.WorkItem"/>
<message id="_exceptionMessage" itemRef="_exceptionItem" />
<interface id="_handlingServiceInterface" name="org.jbpm.bpmn2.objects.ExceptionService">
View
4 ...mn2/src/test/resources/BPMN2-IntermediateCatchEventConditionFilterByProcessInstance.bpmn2
@@ -19,7 +19,7 @@
<conditionalEventDefinition id="ConditionalEventDefinition_1">
<condition xsi:type="tFormalExpression" id="FormalExpression_1" language="http://www.jboss.org/drools/rule">
- p: org.kie.runtime.process.WorkflowProcessInstance()
+ p: org.kie.api.runtime.process.WorkflowProcessInstance()
personId: Long() from p.getVariable(&quot;personId&quot;)
org.jbpm.bpmn2.objects.Person(id == personId, name == &quot;John&quot;)
@@ -75,4 +75,4 @@
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
-</definitions>
+</definitions>
View
32 ...rc/main/docbook/en-US/Chapter-DomainSpecificProcesses/Chapter-DomainSpecificProcesses.xml
@@ -246,30 +246,30 @@ NotificationWorkItemHandler should be created (implementing the WorkItemHandler
<programlisting language="java">package com.sample;
-import org.kie.runtime.process.WorkItem;
-import org.kie.runtime.process.WorkItemHandler;
-import org.kie.runtime.process.WorkItemManager;
+ import org.kie.api.runtime.process.WorkItem;
+ import org.kie.api.runtime.process.WorkItemHandler;
+ import org.kie.api.runtime.process.WorkItemManager;
-public class NotificationWorkItemHandler implements WorkItemHandler {
+ public class NotificationWorkItemHandler implements WorkItemHandler {
public void executeWorkItem(WorkItem workItem, WorkItemManager manager) {
- // extract parameters
- String from = (String) workItem.getParameter("From");
- String to = (String) workItem.getParameter("To");
- String message = (String) workItem.getParameter("Message");
- String priority = (String) workItem.getParameter("Priority");
- // send email
- EmailService service = ServiceRegistry.getInstance().getEmailService();
- service.sendEmail(from, to, "Notification", message);
- // notify manager that work item has been completed
- manager.completeWorkItem(workItem.getId(), null);
+ // extract parameters
+ String from = (String) workItem.getParameter("From");
+ String to = (String) workItem.getParameter("To");
+ String message = (String) workItem.getParameter("Message");
+ String priority = (String) workItem.getParameter("Priority");
+ // send email
+ EmailService service = ServiceRegistry.getInstance().getEmailService();
+ service.sendEmail(from, to, "Notification", message);
+ // notify manager that work item has been completed
+ manager.completeWorkItem(workItem.getId(), null);
}
public void abortWorkItem(WorkItem workItem, WorkItemManager manager) {
- // Do nothing, notifications cannot be aborted
+ // Do nothing, notifications cannot be aborted
}
-}
+ }
</programlisting>
<para>This WorkItemHandler sends a notification as an email and then immediately notifies
View
2 jbpm-docs/src/main/docbook/en-US/Chapter-Processes/Chapter-Processes.xml
@@ -1333,7 +1333,7 @@ Person( name == ( processInstance.getVariable("name") ) )
<para>Actions have access to globals and the variables that are defined
for the process and the predefined variable <code>kcontext</code>. This
variable is of type
- <code>org.kie.runtime.process.ProcessContext</code> and can be used for
+ <code>org.kie.api.runtime.process.ProcessContext</code> and can be used for
several tasks:</para>
<itemizedlist>
<listitem><para>Getting the current node instance (if applicable). The node
View
10 jbpm-examples/src/main/java/org/jbpm/examples/request/ProcessTest.java
@@ -15,11 +15,11 @@
import org.kie.internal.logger.KnowledgeRuntimeLoggerFactory;
import org.kie.internal.runtime.StatefulKnowledgeSession;
import org.kie.api.io.ResourceType;
-import org.kie.runtime.process.WorkItem;
-import org.kie.runtime.process.WorkItemHandler;
-import org.kie.runtime.process.WorkItemManager;
-import org.kie.runtime.process.WorkflowProcessInstance;
-import org.kie.runtime.rule.FactHandle;
+import org.kie.api.runtime.process.WorkItem;
+import org.kie.api.runtime.process.WorkItemHandler;
+import org.kie.api.runtime.process.WorkItemManager;
+import org.kie.api.runtime.process.WorkflowProcessInstance;
+import org.kie.api.runtime.rule.FactHandle;
/**
* This is a sample file to launch a process.
View
8 jbpm-examples/src/main/java/org/jbpm/examples/request/RequestUI.java
@@ -44,10 +44,10 @@
import org.kie.internal.logger.KnowledgeRuntimeLoggerFactory;
import org.kie.internal.runtime.StatefulKnowledgeSession;
import org.kie.api.io.ResourceType;
-import org.kie.runtime.process.WorkItem;
-import org.kie.runtime.process.WorkItemHandler;
-import org.kie.runtime.process.WorkItemManager;
-import org.kie.runtime.process.WorkflowProcessInstance;
+import org.kie.api.runtime.process.WorkItem;
+import org.kie.api.runtime.process.WorkItemHandler;
+import org.kie.api.runtime.process.WorkItemManager;
+import org.kie.api.runtime.process.WorkflowProcessInstance;
/**
*
View
6 jbpm-examples/src/main/java/org/jbpm/examples/request/UIWorkItemHandler.java
@@ -40,9 +40,9 @@
import javax.swing.event.ListSelectionEvent;
import javax.swing.event.ListSelectionListener;
-import org.kie.runtime.process.WorkItem;
-import org.kie.runtime.process.WorkItemHandler;
-import org.kie.runtime.process.WorkItemManager;
+import org.kie.api.runtime.process.WorkItem;
+import org.kie.api.runtime.process.WorkItemHandler;
+import org.kie.api.runtime.process.WorkItemManager;
/**
*
View
2 jbpm-examples/src/main/java/org/jbpm/examples/request/UIWorkItemHandlerDialog.java
@@ -34,7 +34,7 @@
import javax.swing.JTextArea;
import javax.swing.JTextField;
-import org.kie.runtime.process.WorkItem;
+import org.kie.api.runtime.process.WorkItem;
/**
*
View
10 jbpm-examples/src/test/java/org/jbpm/examples/junit/BPMN2JUnitTests.java
@@ -41,11 +41,11 @@
import org.kie.internal.io.ResourceFactory;
import org.kie.internal.runtime.StatefulKnowledgeSession;
import org.kie.api.io.ResourceType;
-import org.kie.runtime.process.ProcessInstance;
-import org.kie.runtime.process.WorkItem;
-import org.kie.runtime.process.WorkItemHandler;
-import org.kie.runtime.process.WorkItemManager;
-import org.kie.runtime.process.WorkflowProcessInstance;
+import org.kie.api.runtime.process.ProcessInstance;
+import org.kie.api.runtime.process.WorkItem;
+import org.kie.api.runtime.process.WorkItemHandler;
+import org.kie.api.runtime.process.WorkItemManager;
+import org.kie.api.runtime.process.WorkflowProcessInstance;
import org.w3c.dom.Attr;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
View
10 jbpm-examples/src/test/java/org/jbpm/examples/junit/DesignerBPMN2JunitTests.java
@@ -21,11 +21,11 @@
import org.kie.internal.io.ResourceFactory;
import org.kie.internal.runtime.StatefulKnowledgeSession;
import org.kie.api.io.ResourceType;
-import org.kie.runtime.process.ProcessInstance;
-import org.kie.runtime.process.WorkItem;
-import org.kie.runtime.process.WorkItemHandler;
-import org.kie.runtime.process.WorkItemManager;
-import org.kie.runtime.process.WorkflowProcessInstance;
+import org.kie.api.runtime.process.ProcessInstance;
+import org.kie.api.runtime.process.WorkItem;
+import org.kie.api.runtime.process.WorkItemHandler;
+import org.kie.api.runtime.process.WorkItemManager;
+import org.kie.api.runtime.process.WorkflowProcessInstance;
public class DesignerBPMN2JunitTests extends TestCase {
View
4 jbpm-flow-builder/src/main/java/org/jbpm/process/builder/dialect/mvel/MVELActionBuilder.java
@@ -83,7 +83,7 @@ public void build(final PackageBuildContext context,
boundIdentifiers,
null,
"context",
- org.kie.runtime.process.ProcessContext.class );
+ org.kie.api.runtime.process.ProcessContext.class );
context.setTypesafe( typeSafe );
Set<String> variableNames = analysis.getNotBoundedIdentifiers();
@@ -114,7 +114,7 @@ public void build(final PackageBuildContext context,
variables,
context,
"context",
- org.kie.runtime.process.ProcessContext.class);
+ org.kie.api.runtime.process.ProcessContext.class);
MVELAction expr = new MVELAction( unit, context.getDialect().getId() );
View
4 .../src/main/java/org/jbpm/process/builder/dialect/mvel/MVELReturnValueEvaluatorBuilder.java
@@ -49,7 +49,7 @@ public void build(final PackageBuildContext context,
boundIdentifiers,
null,
"context",
- org.kie.runtime.process.ProcessContext.class );
+ org.kie.api.runtime.process.ProcessContext.class );
context.setTypesafe( typeSafe );
Set<String> variableNames = analysis.getNotBoundedIdentifiers();
@@ -80,7 +80,7 @@ public void build(final PackageBuildContext context,
variables,
context,
"context",
- org.kie.runtime.process.ProcessContext.class);
+ org.kie.api.runtime.process.ProcessContext.class);
//VELReturnValueExpression expr = new MVELReturnValueExpression( unit, context.getDialect().getId() );
MVELReturnValueEvaluator expr = new MVELReturnValueEvaluator( unit,
View
4 jbpm-flow-builder/src/main/resources/org/jbpm/process/builder/dialect/java/javaInvokers.mvel
@@ -5,7 +5,7 @@ public class @{invokerClassName} implements org.jbpm.process.instance.impl.Actio
{
private static final long serialVersionUID = 510l;
- public void execute(org.kie.runtime.process.ProcessContext context) throws Exception {
+ public void execute(org.kie.api.runtime.process.ProcessContext context) throws Exception {
@foreach{type : globalTypes, identifier : globals} @{type} @{identifier} = ( @{type} ) context.getKnowledgeRuntime().getGlobal( "@{identifier}" );
@end{}
@@ -34,7 +34,7 @@ public class @{invokerClassName} implements org.jbpm.process.instance.impl.Retur
{
private static final long serialVersionUID = 510l;
- public Object evaluate(org.kie.runtime.process.ProcessContext processContext) throws Exception {
+ public Object evaluate(org.kie.api.runtime.process.ProcessContext processContext) throws Exception {
@foreach{type : globalTypes, identifier : globals} @{type} @{identifier} = ( @{type} ) processContext.getKnowledgeRuntime().getGlobal( "@{identifier}" );
@end{}
View
8 jbpm-flow-builder/src/main/resources/org/jbpm/process/builder/dialect/java/javaRule.mvel
@@ -1,13 +1,13 @@
@declare{"actionMethod"}
-public static void @{methodName}(org.kie.runtime.process.ProcessContext kcontext@if{globals != empty},@end{} @foreach{type :globalTypes, identifier : globals} @{type} @{identifier} @end{","} @if{variables != empty},@end{} @foreach{type2 :variableTypes, identifier2 : variables} @{type2} @{identifier2} @end{","} ) throws Exception {
- org.kie.runtime.process.ProcessContext context = kcontext;
+public static void @{methodName}(org.kie.api.runtime.process.ProcessContext kcontext@if{globals != empty},@end{} @foreach{type :globalTypes, identifier : globals} @{type} @{identifier} @end{","} @if{variables != empty},@end{} @foreach{type2 :variableTypes, identifier2 : variables} @{type2} @{identifier2} @end{","} ) throws Exception {
+ org.kie.api.runtime.process.ProcessContext context = kcontext;
@{text}
}
@end{}
@declare{"returnValueEvaluatorMethod"}
-public static Object @{methodName}(org.kie.runtime.process.ProcessContext kcontext@if{globals != empty},@end{} @foreach{type : globalTypes, identifier : globals} @{type} @{identifier} @end{","} @if{variables != empty},@end{} @foreach{type2 :variableTypes, identifier2 : variables} @{type2} @{identifier2} @end{","} ) throws Exception {
- org.kie.runtime.process.ProcessContext context = kcontext;
+public static Object @{methodName}(org.kie.api.runtime.process.ProcessContext kcontext@if{globals != empty},@end{} @foreach{type : globalTypes, identifier : globals} @{type} @{identifier} @end{","} @if{variables != empty},@end{} @foreach{type2 :variableTypes, identifier2 : variables} @{type2} @{identifier2} @end{","} ) throws Exception {
+ org.kie.api.runtime.process.ProcessContext context = kcontext;
@{text}
}
@end{}
View
4 jbpm-flow-builder/src/test/java/org/jbpm/integrationtests/AgendaFilterTest.java
@@ -15,8 +15,8 @@
import org.kie.internal.io.ResourceFactory;
import org.kie.internal.runtime.StatefulKnowledgeSession;
import org.kie.api.io.ResourceType;
-import org.kie.runtime.rule.AgendaFilter;
-import org.kie.runtime.rule.Match;
+import org.kie.api.runtime.rule.AgendaFilter;
+import org.kie.api.runtime.rule.Match;
import java.util.ArrayList;
import java.util.List;
View
2 jbpm-flow-builder/src/test/java/org/jbpm/integrationtests/ExecutionFlowControlTest.java
@@ -11,7 +11,7 @@
import org.kie.internal.io.ResourceFactory;
import org.kie.api.io.ResourceType;
import org.kie.internal.runtime.StatefulKnowledgeSession;
-import org.kie.runtime.process.ProcessInstance;
+import org.kie.api.runtime.process.ProcessInstance;
public class ExecutionFlowControlTest extends TestCase {
View
8 jbpm-flow-builder/src/test/java/org/jbpm/integrationtests/ProcessActionTest.java
@@ -14,10 +14,10 @@
import org.kie.internal.builder.KnowledgeBuilderFactory;
import org.kie.internal.runtime.StatefulKnowledgeSession;
import org.kie.api.io.ResourceType;
-import org.kie.runtime.ObjectFilter;
-import org.kie.runtime.process.ProcessInstance;
-import org.kie.runtime.process.WorkItem;
-import org.kie.runtime.rule.FactHandle;
+import org.kie.api.runtime.ObjectFilter;
+import org.kie.api.runtime.process.ProcessInstance;
+import org.kie.api.runtime.process.WorkItem;
+import org.kie.api.runtime.rule.FactHandle;
public class ProcessActionTest extends TestCase {
View
4 jbpm-flow-builder/src/test/java/org/jbpm/integrationtests/ProcessDynamicNodeTest.java
@@ -24,8 +24,8 @@
import org.kie.internal.runtime.StatefulKnowledgeSession;
import org.kie.api.io.ResourceType;
import org.kie.internal.logger.KnowledgeRuntimeLoggerFactory;
-import org.kie.runtime.process.WorkItem;
-import org.kie.runtime.process.WorkflowProcessInstance;
+import org.kie.api.runtime.process.WorkItem;
+import org.kie.api.runtime.process.WorkflowProcessInstance;
public class ProcessDynamicNodeTest extends TestCase {
View
2 jbpm-flow-builder/src/test/java/org/jbpm/integrationtests/ProcessEventListenerTest.java
@@ -39,7 +39,7 @@
import org.kie.api.event.process.ProcessNodeTriggeredEvent;
import org.kie.api.event.process.ProcessStartedEvent;
import org.kie.api.event.process.ProcessVariableChangedEvent;
-import org.kie.runtime.process.ProcessInstance;
+import org.kie.api.runtime.process.ProcessInstance;
public class ProcessEventListenerTest extends TestCase {
View
2 jbpm-flow-builder/src/test/java/org/jbpm/integrationtests/ProcessEventTest.java
@@ -14,7 +14,7 @@
import org.drools.core.rule.Package;
import org.jbpm.process.core.context.variable.VariableScope;
import org.jbpm.process.instance.context.variable.VariableScopeInstance;
-import org.kie.runtime.process.ProcessInstance;
+import org.kie.api.runtime.process.ProcessInstance;
public class ProcessEventTest extends TestCase {
View
4 jbpm-flow-builder/src/test/java/org/jbpm/integrationtests/ProcessFlowControlTest.java
@@ -19,8 +19,8 @@
import org.drools.core.event.AgendaEventListener;
import org.drools.core.event.DefaultAgendaEventListener;
import org.drools.core.rule.Package;
-import org.kie.runtime.process.ProcessInstance;
-import org.kie.runtime.rule.Match;
+import org.kie.api.runtime.process.ProcessInstance;
+import org.kie.api.runtime.rule.Match;
public class ProcessFlowControlTest extends TestCase {
protected RuleBase getRuleBase() throws Exception {
View
6 jbpm-flow-builder/src/test/java/org/jbpm/integrationtests/ProcessForEachTest.java
@@ -15,9 +15,9 @@
import org.drools.compiler.compiler.PackageBuilder;
import org.drools.core.rule.Package;
import org.jbpm.process.instance.ProcessInstance;
-import org.kie.runtime.process.WorkItem;
-import org.kie.runtime.process.WorkItemHandler;
-import org.kie.runtime.process.WorkItemManager;
+import org.kie.api.runtime.process.WorkItem;
+import org.kie.api.runtime.process.WorkItemHandler;
+import org.kie.api.runtime.process.WorkItemManager;
public class ProcessForEachTest extends TestCase {
View
2 jbpm-flow-builder/src/test/java/org/jbpm/integrationtests/ProcessHumanTaskTest.java
@@ -14,7 +14,7 @@
import org.drools.core.rule.Package;
import org.jbpm.integrationtests.handler.TestWorkItemHandler;
import org.jbpm.process.instance.ProcessInstance;
-import org.kie.runtime.process.WorkItem;
+import org.kie.api.runtime.process.WorkItem;
public class ProcessHumanTaskTest extends TestCase {
View
2 jbpm-flow-builder/src/test/java/org/jbpm/integrationtests/ProcessMarshallingTest.java
@@ -28,7 +28,7 @@
import org.kie.api.io.ResourceType;
import org.kie.api.marshalling.Marshaller;
import org.kie.internal.marshalling.MarshallerFactory;
-import org.kie.runtime.process.*;
+import org.kie.api.runtime.process.*;
public class ProcessMarshallingTest extends TestCase {
View
2 jbpm-flow-builder/src/test/java/org/jbpm/integrationtests/ProcessMultiThreadTest.java
@@ -11,7 +11,7 @@
import org.drools.core.StatefulSession;
import org.drools.compiler.compiler.DroolsError;
import org.drools.compiler.compiler.PackageBuilder;
-import org.kie.runtime.process.ProcessInstance;
+import org.kie.api.runtime.process.ProcessInstance;
public class ProcessMultiThreadTest extends TestCase {
View
2 jbpm-flow-builder/src/test/java/org/jbpm/integrationtests/ProcessRuleFlowGroupTest.java
@@ -45,7 +45,7 @@ public void testRuleSetProcessContext() throws Exception {
"package org.jbpm;\n" +
"\n" +
"import org.jbpm.Person;\n" +
- "import org.kie.runtime.process.ProcessContext;\n" +
+ "import org.kie.api.runtime.process.ProcessContext;\n" +
"\n" +
"rule MyRule ruleflow-group \"MyGroup\" dialect \"mvel\" \n" +
" when\n" +
View
4 jbpm-flow-builder/src/test/java/org/jbpm/integrationtests/ProcessSplitTest.java
@@ -28,7 +28,7 @@
import org.kie.internal.io.ResourceFactory;
import org.kie.api.io.ResourceType;
import org.kie.internal.runtime.StatefulKnowledgeSession;
-import org.kie.runtime.process.ProcessInstance;
+import org.kie.api.runtime.process.ProcessInstance;
public class ProcessSplitTest extends TestCase {
@@ -128,7 +128,7 @@ public void testSplitWithProcessInstanceConstraint2() {
" <header>" +
" <imports>" +
" <import name=\"org.jbpm.Person\" />" +
- " <import name=\"org.kie.runtime.process.WorkflowProcessInstance\" />" +
+ " <import name=\"org.kie.api.runtime.process.WorkflowProcessInstance\" />" +
" </imports>" +
" <globals>" +
" <global identifier=\"list\" type=\"java.util.List\" />" +
View
6 jbpm-flow-builder/src/test/java/org/jbpm/integrationtests/ProcessStateTest.java
@@ -16,9 +16,9 @@
import org.kie.internal.io.ResourceFactory;
import org.kie.api.io.ResourceType;
import org.kie.internal.runtime.StatefulKnowledgeSession;
-import org.kie.runtime.process.NodeInstance;
-import org.kie.runtime.process.ProcessInstance;
-import org.kie.runtime.process.WorkflowProcessInstance;
+import org.kie.api.runtime.process.NodeInstance;
+import org.kie.api.runtime.process.ProcessInstance;
+import org.kie.api.runtime.process.WorkflowProcessInstance;
public class ProcessStateTest extends TestCase {
View
2 jbpm-flow-builder/src/test/java/org/jbpm/integrationtests/ProcessSubProcessTest.java
@@ -15,7 +15,7 @@
import org.jbpm.Person;
import org.jbpm.process.core.context.variable.VariableScope;
import org.jbpm.process.instance.context.variable.VariableScopeInstance;
-import org.kie.runtime.process.ProcessInstance;
+import org.kie.api.runtime.process.ProcessInstance;
public class ProcessSubProcessTest extends TestCase {
View
2 jbpm-flow-builder/src/test/java/org/jbpm/integrationtests/ProcessTimerTest.java
@@ -24,7 +24,7 @@
import org.jbpm.process.instance.InternalProcessRuntime;
import org.jbpm.process.instance.ProcessInstance;
import org.jbpm.process.instance.impl.demo.DoNothingWorkItemHandler;
-import org.kie.runtime.conf.ClockTypeOption;
+import org.kie.api.runtime.conf.ClockTypeOption;
public class ProcessTimerTest extends TestCase {
View
2 jbpm-flow-builder/src/test/java/org/jbpm/integrationtests/ProcessWorkItemTest.java
@@ -16,7 +16,7 @@
import org.kie.internal.io.ResourceFactory;
import org.kie.internal.runtime.StatefulKnowledgeSession;
import org.kie.api.io.ResourceType;
-import org.kie.runtime.process.*;
+import org.kie.api.runtime.process.*;
public class ProcessWorkItemTest extends TestCase {
View
4 jbpm-flow-builder/src/test/java/org/jbpm/integrationtests/handler/TestWorkItemHandler.java
@@ -1,6 +1,6 @@
package org.jbpm.integrationtests.handler;
-import org.kie.runtime.process.*;
+import org.kie.api.runtime.process.*;
public class TestWorkItemHandler implements WorkItemHandler {
private WorkItem workItem;
@@ -20,4 +20,4 @@ public boolean isAborted() {
public void reset() {
workItem = null;
}
-}
+}
View
2 .../test/java/org/jbpm/integrationtests/marshalling/ProcessInstanceResolverStrategyTest.java
@@ -35,7 +35,7 @@
import org.kie.api.io.ResourceType;
import org.kie.internal.marshalling.MarshallerFactory;
import org.kie.api.marshalling.ObjectMarshallingStrategy;
-import org.kie.runtime.process.ProcessInstance;
+import org.kie.api.runtime.process.ProcessInstance;
public class ProcessInstanceResolverStrategyTest {
View
8 jbpm-flow/src/main/java/org/jbpm/marshalling/impl/AbstractProcessInstanceMarshaller.java
@@ -35,10 +35,10 @@
import org.drools.core.marshalling.impl.MarshallerReaderContext;
import org.drools.core.marshalling.impl.MarshallerWriteContext;
import org.drools.core.marshalling.impl.PersisterEnums;
-import org.kie.runtime.process.NodeInstance;
-import org.kie.runtime.process.NodeInstanceContainer;
-import org.kie.runtime.process.ProcessInstance;
-import org.kie.runtime.process.WorkflowProcessInstance;
+import org.kie.api.runtime.process.NodeInstance;
+import org.kie.api.runtime.process.NodeInstanceContainer;
+import org.kie.api.runtime.process.ProcessInstance;
+import org.kie.api.runtime.process.WorkflowProcessInstance;
import org.jbpm.process.core.Context;
import org.jbpm.process.core.context.exclusive.ExclusiveGroup;
import org.jbpm.process.core.context.swimlane.SwimlaneContext;
View
10 ...ow/src/main/java/org/jbpm/marshalling/impl/AbstractProtobufProcessInstanceMarshaller.java
@@ -59,11 +59,11 @@
import org.jbpm.workflow.instance.node.TimerNodeInstance;
import org.jbpm.workflow.instance.node.WorkItemNodeInstance;
import org.kie.api.definition.process.Process;
-import org.kie.runtime.process.NodeInstance;
-import org.kie.runtime.process.NodeInstanceContainer;
-import org.kie.runtime.process.ProcessInstance;
-import org.kie.runtime.process.WorkflowProcessInstance;
-import org.kie.runtime.rule.FactHandle;
+import org.kie.api.runtime.process.NodeInstance;
+import org.kie.api.runtime.process.NodeInstanceContainer;
+import org.kie.api.runtime.process.ProcessInstance;
+import org.kie.api.runtime.process.WorkflowProcessInstance;
+import org.kie.api.runtime.rule.FactHandle;
import com.google.protobuf.ExtensionRegistry;
View
8 jbpm-flow/src/main/java/org/jbpm/marshalling/impl/ProcessInstanceMarshaller.java
@@ -21,10 +21,10 @@
import org.drools.core.marshalling.impl.InputMarshaller;
import org.drools.core.marshalling.impl.MarshallerReaderContext;
import org.drools.core.marshalling.impl.MarshallerWriteContext;
-import org.kie.runtime.process.NodeInstance;
-import org.kie.runtime.process.NodeInstanceContainer;
-import org.kie.runtime.process.ProcessInstance;
-import org.kie.runtime.process.WorkflowProcessInstance;
+import org.kie.api.runtime.process.NodeInstance;
+import org.kie.api.runtime.process.NodeInstanceContainer;
+import org.kie.api.runtime.process.ProcessInstance;
+import org.kie.api.runtime.process.WorkflowProcessInstance;
/**
* A ProcessInstanceMarshaller must contain all the write/read logic for nodes
View
2 jbpm-flow/src/main/java/org/jbpm/marshalling/impl/ProcessInstanceResolverStrategy.java
@@ -26,7 +26,7 @@
import org.jbpm.process.instance.impl.ProcessInstanceImpl;
import org.kie.api.definition.process.Process;
import org.kie.api.marshalling.ObjectMarshallingStrategy;
-import org.kie.runtime.process.ProcessInstance;
+import org.kie.api.runtime.process.ProcessInstance;
import java.io.IOException;
import java.io.ObjectInputStream;
View
14 jbpm-flow/src/main/java/org/jbpm/marshalling/impl/ProcessMarshallerImpl.java
@@ -18,8 +18,8 @@
import org.drools.core.marshalling.impl.ProcessMarshaller;
import org.drools.core.process.instance.WorkItemManager;
import org.drools.core.process.instance.impl.WorkItemImpl;
-import org.kie.runtime.process.ProcessInstance;
-import org.kie.runtime.process.WorkItem;
+import org.kie.api.runtime.process.ProcessInstance;
+import org.kie.api.runtime.process.WorkItem;
import org.jbpm.process.instance.InternalProcessRuntime;
import org.jbpm.process.instance.timer.TimerInstance;
import org.jbpm.process.instance.timer.TimerManager;
@@ -29,16 +29,16 @@
public void writeProcessInstances(MarshallerWriteContext context) throws IOException {
ObjectOutputStream stream = context.stream;
- List<org.kie.runtime.process.ProcessInstance> processInstances = new ArrayList<org.kie.runtime.process.ProcessInstance>( context.wm.getProcessInstances() );
+ List<org.kie.api.runtime.process.ProcessInstance> processInstances = new ArrayList<org.kie.api.runtime.process.ProcessInstance>( context.wm.getProcessInstances() );
Collections.sort( processInstances,
- new Comparator<org.kie.runtime.process.ProcessInstance>() {
- public int compare(org.kie.runtime.process.ProcessInstance o1,
- org.kie.runtime.process.ProcessInstance o2) {
+ new Comparator<org.kie.api.runtime.process.ProcessInstance>() {
+ public int compare(org.kie.api.runtime.process.ProcessInstance o1,
+ org.kie.api.runtime.process.ProcessInstance o2) {
return (int) (o1.getId() - o2.getId());
}
} );
- for ( org.kie.runtime.process.ProcessInstance processInstance : processInstances ) {
+ for ( org.kie.api.runtime.process.ProcessInstance processInstance : processInstances ) {
stream.writeShort(PersisterEnums.PROCESS_INSTANCE);
String processType = processInstance.getProcess().getType();
stream.writeUTF(processType);
View
14