blob: d4ed242fbcb681a626d122b8f85ece51495db0b5 [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();
}