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

data class Contract : Info

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

ContractAndWorkflow

data class ContractAndWorkflow : Info

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

Default

data class Default : Info

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

Workflow

data class Workflow : Info

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

Properties

licence

abstract val licence: String

shortName

abstract val shortName: String

Cordapp's name

vendor

abstract val vendor: String

Cordapp's vendor

version

abstract val version: String

Cordapp's version

Functions

hasUnknownFields

abstract fun hasUnknownFields(): Boolean

Inheritors

Contract

data class Contract : Info

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

ContractAndWorkflow

data class ContractAndWorkflow : Info

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

Default

data class Default : Info

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

Workflow

data class Workflow : Info

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