aboutsummaryrefslogtreecommitdiff
path: root/plugins/templating/src/main/kotlin/templates/CommandHandler.kt
blob: d72092a19c22400505029227c8579cc2e73fe0ad (plain)
1
2
3
4
5
6
7
8
9
10
11
package org.jetbrains.dokka.templates

import org.jetbrains.dokka.base.templating.Command
import org.jsoup.nodes.Element
import java.io.File

interface CommandHandler {
    fun handleCommand(element: Element, command: Command, input: File, output: File)
    fun canHandle(command: Command): Boolean
    fun finish(output: File) {}
}