fjtirado commented on code in PR #3403:
URL:
https://github.com/apache/incubator-kie-kogito-runtimes/pull/3403#discussion_r1533787277
##########
api/kogito-api/src/main/java/org/kie/kogito/process/ProcessInstances.java:
##########
@@ -33,9 +33,18 @@ default Optional<ProcessInstance<T>>
findByBusinessKey(String id) {
return stream().filter(pi -> id.equals(pi.businessKey())).findAny();
}
+ default void migrate(String targetProcessId, String targetProcessVersion,
String... processIds) throws UnsupportedOperationException {
Review Comment:
Ok, at the end, even if using the capability approach, I agree the
implementor of ProcessInstances will be also the one implementing the new
interface, so it does not really matter. I still found strange to explictly
declare a runtime exception in the throws, but since it is a runtime it does
not really have any effect.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]