Sho SHIMIZU | 15ed4fd | 2014-08-05 14:40:42 -0700 | [diff] [blame] | 1 | package net.onrc.onos.api.newintent; |
| 2 | |
Sho SHIMIZU | 228140c | 2014-08-11 19:15:43 -0700 | [diff] [blame] | 3 | import net.onrc.onos.api.batchoperation.BatchOperationTarget; |
| 4 | |
Sho SHIMIZU | 15ed4fd | 2014-08-05 14:40:42 -0700 | [diff] [blame] | 5 | /** |
| 6 | * Abstraction of an application level intent. |
| 7 | * |
| 8 | * Make sure that an Intent should be immutable when a new type is defined. |
| 9 | */ |
Sho SHIMIZU | 228140c | 2014-08-11 19:15:43 -0700 | [diff] [blame] | 10 | public interface Intent extends BatchOperationTarget { |
Sho SHIMIZU | 15ed4fd | 2014-08-05 14:40:42 -0700 | [diff] [blame] | 11 | /** |
| 12 | * Returns the intent identifier. |
| 13 | * |
| 14 | * @return intent identifier |
| 15 | */ |
| 16 | IntentId getId(); |
| 17 | } |