Package org.onosproject.net.intent
Interface IntentCompiler<T extends Intent>
-
- Type Parameters:
T- the type of intent
@Beta public interface IntentCompiler<T extends Intent>Abstraction of a compiler which is capable of taking an intent and translating it to other, potentially installable, intents.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<Intent>compile(T intent, java.util.List<Intent> installable)Compiles the specified intent into other intents.
-
-
-
Method Detail
-
compile
java.util.List<Intent> compile(T intent, java.util.List<Intent> installable)
Compiles the specified intent into other intents.- Parameters:
intent- intent to be compiledinstallable- previous compilation result; optional- Returns:
- list of resulting intents
- Throws:
IntentException- if issues are encountered while compiling the intent
-
-