Sho SHIMIZU | 95cc1fb | 2014-08-18 11:32:10 -0700 | [diff] [blame] | 1 | package net.onrc.onos.core.matchaction.action; |
2 | |||||
3 | /** | ||||
4 | * Utility for creating an instance of action. | ||||
5 | */ | ||||
6 | public final class Actions { | ||||
7 | private Actions() {} | ||||
8 | |||||
9 | // TODO: consider if it is meaningful to return NullAction | ||||
10 | // instead of just Action | ||||
11 | /** | ||||
12 | * Returns an action representing null action. | ||||
13 | * | ||||
14 | * @return action representing null action | ||||
15 | */ | ||||
16 | public static NullAction nullAction() { | ||||
17 | return NullAction.getInstance(); | ||||
18 | } | ||||
19 | } |