diff --git a/src/java/event/planEvent/SelectPlanEvent.java b/src/java/event/planEvent/SelectPlanEvent.java index c55399f..0bdb1c3 100644 --- a/src/java/event/planEvent/SelectPlanEvent.java +++ b/src/java/event/planEvent/SelectPlanEvent.java @@ -3,9 +3,11 @@ import event.Event; import event.eventInfo.PlanInfo; import jason.asSemantics.Option; +import jason.asSyntax.Term; import jason.asSyntax.Trigger; import java.util.List; +import java.util.Optional; /** * A class that representing an event for a plan selection. @@ -13,6 +15,7 @@ public class SelectPlanEvent implements Event { private final String event; + private final Optional> sources; private final List planOptions; private PlanInfo selectedPlan; @@ -22,7 +25,8 @@ public class SelectPlanEvent implements Event { * @param options a list of options to select from */ public SelectPlanEvent(Trigger trigger, List