com.github.themrmilchmann.kraton / Profile

Profile

class Profile (source)

Profile

A Profile is a top level type that GeneratorTarget's should be registered to.

Since
1.0.0

Constructors

<init>

Profile(init: Profile.() -> Unit)

Profile

Properties

targets

val targets: ArrayList<GeneratorTarget>

The list of targets managed by this profile.

Extension Functions

javaClass

fun Profile.javaClass(fileName: String, packageName: String, srcFolder: String, srcSet: String, documentation: String? = null, since: String? = null, superClass: IJvmType? = null, interfaces: Array<out IJvmType>? = null, copyrightHeader: String? = null, init: JavaClassScope.() -> Unit): JavaClass

Creates, registers and returns an object representing a Java class.

javaInterface

fun Profile.javaInterface(fileName: String, packageName: String, srcFolder: String, srcSet: String, documentation: String? = null, since: String? = null, superInterfaces: Array<out IJvmType>? = null, copyrightHeader: String? = null, init: JavaInterfaceScope.() -> Unit): JavaInterface

Creates, registers and returns an object representing a Java interface.