Cordapp

Represents a cordapp by registering the JAR that contains it and all important classes for Corda. Instances of this class are generated automatically at startup of a node and can get retrieved from CordappProvider.getAppContext from the CordappContext it returns.

This will only need to be constructed manually for certain kinds of tests.

Inheritors

Types

Link copied to clipboard

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

Properties

Link copied to clipboard
abstract val allFlows: List<Class<out FlowLogic<*>>>

List of all flow classes

Link copied to clipboard

List of serializers for checkpoints

Link copied to clipboard

List of contracts

Link copied to clipboard
abstract val cordappClasses: List<String>

An exhaustive list of all classes relevant to the node within this CorDapp

Link copied to clipboard

List of custom schemas

Link copied to clipboard
abstract val info: Cordapp.Info
Link copied to clipboard
abstract val initiatedFlows: List<Class<out FlowLogic<*>>>

List of initiatable flow classes

Link copied to clipboard

Hash of the jar

Link copied to clipboard
abstract val jarPath: URL

The path to the JAR for this CorDapp

Link copied to clipboard

The minimum platform version this CorDapp will run on.

Link copied to clipboard
abstract val name: String

Cordapp name - derived from the base name of the Cordapp JAR (therefore may not be unique). This is different to Cordapp.Info.shortName which should be used instead.

Link copied to clipboard
abstract val rpcFlows: List<Class<out FlowLogic<*>>>

List of RPC initiable flows classes

Link copied to clipboard
abstract val schedulableFlows: List<Class<out FlowLogic<*>>>

List of flows startable by the scheduler

Link copied to clipboard

List of serializers

Link copied to clipboard

List of Corda plugin registries

Link copied to clipboard
abstract val serviceFlows: List<Class<out FlowLogic<*>>>

List of net.corda.core.node.services.CordaService initiable flows classes

Link copied to clipboard
abstract val services: List<Class<out SerializeAsToken>>

List of RPC services

Link copied to clipboard

The target platform version this CorDapp was designed and tested on.

Link copied to clipboard