createInstance

fun createInstance(description: String, type: Class<*>, name: String = "Create ", tags: Set<String> = emptySet(), examples: Set<String> = emptySet()): Goal

Convenient method to create a goal requiring creating an instance of this type.

Parameters

description

description of the goal

type

type of the instance to create. See IoBinding.

name

name of the goal, defaults to "Create ${type.simpleName}"