Skip to content

Commit

Permalink
Update JobContext.java
Browse files Browse the repository at this point in the history
  • Loading branch information
fjtirado authored Jan 9, 2024
1 parent 964c82e commit e80ff92
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,8 @@ public interface JobContext extends Serializable {
default Optional<InternalKnowledgeRuntime> getInternalKnowledgeRuntime() {
return getWorkingMemory() != null ? Optional.ofNullable(getWorkingMemory().getKnowledgeRuntime()) : Optional.empty();
}

default boolean isNew() {
return false;
}
}

0 comments on commit e80ff92

Please sign in to comment.