corda / net.corda.core.cordapp / Cordapp / Info

Info

@DoNotImplement interface Info

Further information about the CorDapp extracted from its MANIFEST. The sub-types Default, Contract and Workflow determine what type of CorDapp this is.

Types

Contract

A contract CorDapp contains contract definitions (state, commands) and verification logic

data class Contract : Info

ContractAndWorkflow

A CorDapp that includes both contract and workflow classes, and defined in terms of Contract and Workflow.

data class ContractAndWorkflow : Info

Default

CorDapps created on V3 which bundle contracts and flows into the same jar. This is effectively ContractAndWorkflow but without the integer versioning.

data class Default : Info

Workflow

A workflow CorDapp contains flows and services used to implement business transactions using contracts and states persisted to the immutable ledger

data class Workflow : Info

Properties

licence

abstract val licence: String

shortName

Cordapp's name

abstract val shortName: String

vendor

Cordapp's vendor

abstract val vendor: String

version

Cordapp's version

abstract val version: String

Functions

hasUnknownFields

abstract fun hasUnknownFields(): Boolean