| Revision 7,
1.1 KB
checked in by bmcguffin, 9 years ago
(diff) |
|
Renamed Interfaces in structures.events package from "*Interface" to "I_*"
|
| Line | |
|---|
| 1 | /* |
|---|
| 2 | * To change this license header, choose License Headers in Project Properties. |
|---|
| 3 | * To change this template file, choose Tools | Templates |
|---|
| 4 | * and open the template in the editor. |
|---|
| 5 | */ |
|---|
| 6 | package scriptbuilder.structures.events; |
|---|
| 7 | |
|---|
| 8 | import java.util.ArrayList; |
|---|
| 9 | import scriptbuilder.structures.ScriptEvent; |
|---|
| 10 | |
|---|
| 11 | /** |
|---|
| 12 | * Data model for a facilitator evaluation event. This is an evaluation event. |
|---|
| 13 | * |
|---|
| 14 | * @author Bryan McGuffin |
|---|
| 15 | */ |
|---|
| 16 | public class FacilitatorEvaluationEvent extends ScriptEvent implements I_EvaluationEvent |
|---|
| 17 | { |
|---|
| 18 | |
|---|
| 19 | public FacilitatorEvaluationEvent() |
|---|
| 20 | { |
|---|
| 21 | super(ScriptEventType.FACILITATOR_EVAL_EVENT); |
|---|
| 22 | } |
|---|
| 23 | |
|---|
| 24 | public ArrayList<String> expectedAction = new ArrayList<String>(); |
|---|
| 25 | |
|---|
| 26 | @Override |
|---|
| 27 | public ArrayList<String> getExpectedActions() |
|---|
| 28 | { |
|---|
| 29 | return expectedAction; |
|---|
| 30 | } |
|---|
| 31 | |
|---|
| 32 | @Override |
|---|
| 33 | public void addAction(String act) |
|---|
| 34 | { |
|---|
| 35 | expectedAction.add(act); |
|---|
| 36 | } |
|---|
| 37 | |
|---|
| 38 | @Override |
|---|
| 39 | public void updateAction(int index, String act) |
|---|
| 40 | { |
|---|
| 41 | expectedAction.set(index, act); |
|---|
| 42 | } |
|---|
| 43 | |
|---|
| 44 | @Override |
|---|
| 45 | public void removeAction(int index) |
|---|
| 46 | { |
|---|
| 47 | expectedAction.remove(index); |
|---|
| 48 | } |
|---|
| 49 | } |
|---|
Note: See
TracBrowser
for help on using the repository browser.