Interface IntentCompiler<T extends Intent>

  • Type Parameters:
    T - the type of intent

    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 Detail

      • compile

        List<Intent> compile​(T intent,
                             List<Intent> installable)
        Compiles the specified intent into other intents.
        intent - intent to be compiled
        installable - previous compilation result; optional
        list of resulting intents
        IntentException - if issues are encountered while compiling the intent