Add title. Generate getters.

This commit is contained in:
Nico Schmitz 2018-09-19 22:27:30 +02:00
parent e32050d565
commit 4985864343

View file

@ -8,9 +8,23 @@ import info.nightscout.androidaps.plugins.general.automation.triggers.Trigger;
public class AutomationEvent {
Trigger trigger;
List<Action> actions = new ArrayList<>();
private Trigger trigger;
private List<Action> actions = new ArrayList<>();
private String title;
AutomationEvent() {
AutomationEvent(String title) {
this.title = title;
}
public Trigger getTrigger() {
return trigger;
}
public List<Action> getActions() {
return actions;
}
public String getTitle() {
return title;
}
}