corda / net.corda.core.cordapp / CordappInfo

CordappInfo

data class CordappInfo

A CordappInfo describes a single CorDapp currently installed on the node

Parameters

type - A description of what sort of CorDapp this is - either a contract, workflow, or a combination.

name - The name of the JAR file that defines the CorDapp

shortName - The name of the CorDapp

minimumPlatformVersion - The minimum platform version the node must be at for the CorDapp to run

targetPlatformVersion - The target platform version this CorDapp has been tested against

version - The version of this CorDapp

vendor - The vendor of this CorDapp

licence - The name of the licence this CorDapp is released under

jarHash - The hash of the JAR file that defines this CorDapp

Constructors

<init>

CordappInfo(type: String, name: String, shortName: String, minimumPlatformVersion: Int, targetPlatformVersion: Int, version: String, vendor: String, licence: String, jarHash: SHA256)

A CordappInfo describes a single CorDapp currently installed on the node

Properties

jarHash

val jarHash: SHA256

The hash of the JAR file that defines this CorDapp

licence

val licence: String

The name of the licence this CorDapp is released under

minimumPlatformVersion

val minimumPlatformVersion: Int

The minimum platform version the node must be at for the CorDapp to run

name

val name: String

The name of the JAR file that defines the CorDapp

shortName

val shortName: String

The name of the CorDapp

targetPlatformVersion

val targetPlatformVersion: Int

The target platform version this CorDapp has been tested against

type

val type: String

A description of what sort of CorDapp this is - either a contract, workflow, or a combination.

vendor

val vendor: String

The vendor of this CorDapp

version

val version: String

The version of this CorDapp

Extension Functions

contextLogger

fun Any.contextLogger(): Logger

When called from a companion object, returns the logger for the enclosing class.