blob: 7bfd90638dceb7d8919cbf1b0de253e4a4f09fbd [file] [log] [blame]
Sho SHIMIZU2d4e2632014-08-04 11:44:57 -07001package net.onrc.onos.api.intent;
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 */
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}