blob: 2f5e0133fb7cf00cd9982544f9d351a3086b398e [file] [log] [blame]
Sho SHIMIZU7cd8a422014-08-27 16:05:21 -07001package net.onrc.onos.api.newintent;
2
3import net.onrc.onos.core.util.IdGenerator;
4
5/**
6 * This interface is for generator of IntentId. It is defined only for
7 * testing purpose to keep type safety on mock creation.
8 *
9 * <p>
10 * {@link #getNewId()} generates a globally unique {@link IntentId} instance
11 * on each invocation. Application developers should not generate IntentId
12 * by themselves. Instead use an implementation of this interface.
13 * </p>
14 */
15public interface IntentIdGenerator extends IdGenerator<IntentId> {
16}