blob: c128a68d2277cf81803634691942759ba375b99e [file] [log] [blame]
Yotam Harcholf25e8142013-09-09 14:30:13 -07001
2 @Override
3 public List<OFAction> getActions()throws UnsupportedOperationException {
Yotam Harcholf25e8142013-09-09 14:30:13 -07004 for (OFInstruction inst : this.instructions) {
5 if (inst instanceof OFInstructionApplyActions) {
6 OFInstructionApplyActions iap = (OFInstructionApplyActions)inst;
Yotam Harchola9305c22013-09-09 14:57:19 -07007 return iap.getActions();
Yotam Harcholf25e8142013-09-09 14:30:13 -07008 }
9 }
Yotam Harchola9305c22013-09-09 14:57:19 -070010 return Collections.emptyList();
Murat Parlakisik34863382016-12-05 00:53:17 -080011 }