Add title. Generate getters.
This commit is contained in:
parent
e32050d565
commit
4985864343
1 changed files with 17 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue