blob: ce719810f657b907e96b322b8d6787dab6ca4b68 [file] [log] [blame]
@Override
public List<OFAction> getActions()throws UnsupportedOperationException {
//:: if builder:
if (!this.instructionsSet)
//:: if has_parent:
return parentMessage.getActions();
//:: else:
return Collections.emptyList();
//:: #endif
//:: #endif
for (OFInstruction inst : this.instructions) {
if (inst instanceof OFInstructionApplyActions) {
OFInstructionApplyActions iap = (OFInstructionApplyActions)inst;
return iap.getActions();
}
}
return Collections.emptyList();
}