From 0d3e464cee603fb85908d95d62211948fa5e8e9e Mon Sep 17 00:00:00 2001 From: Cedric Beust Date: Thu, 11 Feb 2016 21:37:13 -0800 Subject: [PATCH] Javadoc. --- .../main/kotlin/com/beust/kobalt/api/IInitContributor.kt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/api/IInitContributor.kt b/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/api/IInitContributor.kt index 6e6cd0fd..f5dcf9ab 100644 --- a/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/api/IInitContributor.kt +++ b/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/api/IInitContributor.kt @@ -7,8 +7,16 @@ import com.beust.kobalt.Args * a new project). */ interface IInitContributor { + /** + * The name of this archetype. This is the name that will be looked up when passed to the --init + * argument. + */ val name: String + /** + * Generate the files for this archetype. The parameter is the arguments that were passed to the kobaltw + * command. + */ fun generateArchetype(args: Args) }