Sho SHIMIZU | 228140c | 2014-08-11 19:15:43 -0700 | [diff] [blame] | 1 | package net.onrc.onos.api.newintent; |
Sho SHIMIZU | 2d4e263 | 2014-08-04 11:44:57 -0700 | [diff] [blame] | 2 | |
| 3 | /** |
| 4 | * This interface is for generator of IntentId. |
| 5 | * |
| 6 | * <p> |
| 7 | * {@link #getNewId()} generates a globally unique {@link IntentId} instance |
| 8 | * on each invocation. Application developers should not generate IntentId |
| 9 | * by themselves. Instead use an implementation of this interface. |
| 10 | * </p> |
| 11 | */ |
| 12 | public interface IntentIdGenerator { |
| 13 | /** |
| 14 | * Generates a globally unique {@link IntentId} instance. |
| 15 | * |
| 16 | * @return a globally unique {@link IntentId} instance. |
| 17 | */ |
| 18 | public IntentId getNewId(); |
| 19 | } |