Brian O'Connor | dee2e6b | 2014-08-12 11:34:51 -0700 | [diff] [blame] | 1 | package net.onrc.onos.core.matchaction; |
| 2 | |
| 3 | import net.onrc.onos.api.batchoperation.BatchOperationEntry; |
| 4 | |
Ray Milkey | c127a5a | 2014-08-20 11:22:12 -0700 | [diff] [blame] | 5 | /** |
| 6 | * This class pairs an Operator and a Match Action to represent an executable |
| 7 | * Match Action operation. |
| 8 | */ |
Brian O'Connor | dee2e6b | 2014-08-12 11:34:51 -0700 | [diff] [blame] | 9 | public final class MatchActionOperationEntry |
| 10 | extends BatchOperationEntry<MatchActionOperations.Operator, MatchAction> { |
| 11 | |
| 12 | /** |
| 13 | * Default constructor for serializer. |
| 14 | */ |
| 15 | @SuppressWarnings("unused") |
| 16 | @Deprecated |
| 17 | protected MatchActionOperationEntry() { |
| 18 | super(null, null); |
| 19 | } |
| 20 | |
| 21 | /** |
| 22 | * Constructs new instance for the entry of the BatchOperation. |
| 23 | * |
| 24 | * @param operator the operator of this operation |
| 25 | * @param target the target object of this operation |
| 26 | */ |
| 27 | public MatchActionOperationEntry(final MatchActionOperations.Operator operator, |
| 28 | final MatchAction target) { |
| 29 | super(operator, target); |
| 30 | } |
| 31 | } |