Migrate to apache KIe 10.0 Remove all non existing features (like Business Central)

This commit is contained in:
nheron 2025-02-15 17:50:02 +01:00
commit 87390f9dd1
247 changed files with 406 additions and 21084 deletions

View file

@ -3,7 +3,7 @@
<parent>
<artifactId>drools-framework-base-tools-parent</artifactId>
<groupId>com.pymmasoftware.jbpm</groupId>
<version>1.2.0-SNAPSHOT</version>
<version>1.3.0-SNAPSHOT</version>
</parent>
<artifactId>drools-framework-runtime-entity</artifactId>
@ -55,7 +55,7 @@
<dependency>
<groupId>io.github.kostaskougios</groupId>
<artifactId>cloning</artifactId>
<version>1.O.O-chtijbug</version>
<version>1.12.0</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>

View file

@ -0,0 +1,42 @@
package org.chtijbug.drools.entity.history.listener;
import org.chtijbug.drools.entity.history.HistoryEvent;
import org.chtijbug.drools.runtime.DroolsChtijbugException;
import org.chtijbug.drools.runtime.listener.HistoryListener;
import java.util.ArrayList;
import java.util.List;
/**
* Created by nheron on 07/07/2016.
*/
public class ChtijbugHistoryListener implements HistoryListener {
private boolean withDetails = true;
private List<HistoryEvent> historyEventLinkedList = new ArrayList<>();
public List<HistoryEvent> getHistoryEventLinkedList() {
return historyEventLinkedList;
}
public void setWithDetails(boolean withDetails) {
this.withDetails = withDetails;
}
@Override
public void fireEvent(HistoryEvent newHistoryEvent) throws DroolsChtijbugException {
historyEventLinkedList.add(newHistoryEvent);
}
@Override
public boolean withDetails() {
return withDetails;
}
@Override
public void setDetails(Boolean details) {
withDetails = details;
}
}