Adapt to Refacoring of HintEvent
@@ -16,6 +16,7 @@ import org.springframework.stereotype.Component;
import won.matcher.rescal.config.RescalMatcherConfig;
import won.matcher.service.common.event.BulkHintEvent;
+import won.matcher.service.common.event.Cause;
import won.matcher.service.common.event.HintEvent;
import won.matcher.utils.tensor.TensorMatchingData;
@@ -100,7 +101,7 @@ public class HintReader {
String fromWonNodeUri = matchingData.getFirstAttributeOfAtom(atomUri1, "wonNodeUri");
String toWonNodeUri = matchingData.getFirstAttributeOfAtom(atomUri2, "wonNodeUri");
HintEvent hint = new HintEvent(fromWonNodeUri, atomUri1, toWonNodeUri, atomUri2,
- config.getPublicMatcherUri(), value);
+ config.getPublicMatcherUri(), value, Cause.MATCHED_OFFLINE);
hints.addHintEvent(hint);
} else {
throw new IllegalStateException(
