diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/general/automation/AutomationEvent.java b/app/src/main/java/info/nightscout/androidaps/plugins/general/automation/AutomationEvent.java index c0de76ee37..8e71c19d6e 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/general/automation/AutomationEvent.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/general/automation/AutomationEvent.java @@ -8,9 +8,23 @@ import info.nightscout.androidaps.plugins.general.automation.triggers.Trigger; public class AutomationEvent { - Trigger trigger; - List actions = new ArrayList<>(); + private Trigger trigger; + private List actions = new ArrayList<>(); + private String title; - AutomationEvent() { + AutomationEvent(String title) { + this.title = title; + } + + public Trigger getTrigger() { + return trigger; + } + + public List getActions() { + return actions; + } + + public String getTitle() { + return title; } }