blob: 3b56d5281b6cdd7952546f8008e2bf1643316bf8 [file] [log] [blame]
Yotam Harcholf25e8142013-09-09 14:30:13 -07001
2 @Override
3 public List<OFAction> getActions()throws UnsupportedOperationException {
4 ImmutableList.Builder<OFAction> builder = ImmutableList.builder();
5 for (OFInstruction inst : this.instructions) {
6 if (inst instanceof OFInstructionApplyActions) {
7 OFInstructionApplyActions iap = (OFInstructionApplyActions)inst;
8 builder.addAll(iap.getActions());
9 }
10 }
11 return builder.build();
12 }