net.corda.core.flows / FlowLogicRefFactory / createKotlin

createKotlin

fun createKotlin(flowLogicClassName: String, args: Map<String, Any?>, attachments: List<SecureHash> = emptyList()): FlowLogicRef

Create a FlowLogicRef for the Kotlin primary constructor of a named FlowLogic



fun createKotlin(type: Class<out FlowLogic<*>>, args: Map<String, Any?>): FlowLogicRef

Create a FlowLogicRef by trying to find a Kotlin constructor that matches the given args.

TODO: Rethink language specific naming.