blob: ec75c7ba161f3ce5f5d88ca73905efb0c7f065f3 [file] [log] [blame]
Sho SHIMIZU228140c2014-08-11 19:15:43 -07001package net.onrc.onos.api.newintent;
Sho SHIMIZU2d4e2632014-08-04 11:44:57 -07002
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 */
12public 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}