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 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 compiled
        installable - previous compilation result; optional
        Returns:
        list of resulting intents
        Throws:
        IntentException - if issues are encountered while compiling the intent