diff --git a/drools-core/src/main/java/org/drools/core/time/JobContext.java b/drools-core/src/main/java/org/drools/core/time/JobContext.java index aee37b9b4f4..e952efd6038 100644 --- a/drools-core/src/main/java/org/drools/core/time/JobContext.java +++ b/drools-core/src/main/java/org/drools/core/time/JobContext.java @@ -35,4 +35,8 @@ public interface JobContext extends Serializable { default Optional getInternalKnowledgeRuntime() { return getWorkingMemory() != null ? Optional.ofNullable(getWorkingMemory().getKnowledgeRuntime()) : Optional.empty(); } + + default boolean isNew() { + return false; + } }