CordappImpl

data class CordappImpl(val jarFile: Path, val contractClassNames: List<String>, val initiatedFlows: List<Class<out FlowLogic<*>>>, val rpcFlows: List<Class<out FlowLogic<*>>>, val serviceFlows: List<Class<out FlowLogic<*>>>, val schedulableFlows: List<Class<out FlowLogic<*>>>, val services: List<Class<out SerializeAsToken>>, val telemetryComponents: List<Class<out TelemetryComponent>>, val serializationWhitelists: List<SerializationWhitelist>, val serializationCustomSerializers: List<SerializationCustomSerializer<*, *>>, val checkpointCustomSerializers: List<CheckpointCustomSerializer<*, *>>, val customSchemas: Set<MappedSchema>, val allFlows: List<Class<out FlowLogic<*>>>, val info: Cordapp.Info, val minimumPlatformVersion: Int, val targetPlatformVersion: Int, val jarHash: SecureHash.SHA256 = jarFile.hash, val languageVersion: LanguageVersion = LanguageVersion.Data, val notaryService: Class<out NotaryService>? = null, val isLoaded: Boolean = true, explicitCordappClasses: List<String> = emptyList(), val isVirtual: Boolean = false) : Cordapp

Constructors

Link copied to clipboard
constructor(jarFile: Path, contractClassNames: List<String>, initiatedFlows: List<Class<out FlowLogic<*>>>, rpcFlows: List<Class<out FlowLogic<*>>>, serviceFlows: List<Class<out FlowLogic<*>>>, schedulableFlows: List<Class<out FlowLogic<*>>>, services: List<Class<out SerializeAsToken>>, telemetryComponents: List<Class<out TelemetryComponent>>, serializationWhitelists: List<SerializationWhitelist>, serializationCustomSerializers: List<SerializationCustomSerializer<*, *>>, checkpointCustomSerializers: List<CheckpointCustomSerializer<*, *>>, customSchemas: Set<MappedSchema>, allFlows: List<Class<out FlowLogic<*>>>, info: Cordapp.Info, minimumPlatformVersion: Int, targetPlatformVersion: Int, jarHash: SecureHash.SHA256 = jarFile.hash, languageVersion: LanguageVersion = LanguageVersion.Data, notaryService: Class<out NotaryService>? = null, isLoaded: Boolean = true, explicitCordappClasses: List<String> = emptyList(), isVirtual: Boolean = false)

Types

Link copied to clipboard
object Companion

Properties

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

List of all flow classes

Link copied to clipboard

List of serializers for checkpoints

Link copied to clipboard
open override val contractClassNames: List<String>

List of contracts

Link copied to clipboard
open override val cordappClasses: List<String>

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

Link copied to clipboard
open override val customSchemas: Set<MappedSchema>

List of custom schemas

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

List of initiatable flow classes

Link copied to clipboard
val isLoaded: Boolean = true

Indicates whether the CorDapp is loaded from external sources, or generated on node startup (virtual).

Link copied to clipboard
val isVirtual: Boolean = false
Link copied to clipboard
Link copied to clipboard
open override val jarHash: SecureHash.SHA256

Hash of the jar

Link copied to clipboard
open override val jarPath: URL

The path to the JAR for this CorDapp

Link copied to clipboard
Link copied to clipboard
open override val minimumPlatformVersion: Int

The minimum platform version this CorDapp will run on.

Link copied to clipboard
open override 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
Link copied to clipboard
open override val rpcFlows: List<Class<out FlowLogic<*>>>

List of RPC initiable flows classes

Link copied to clipboard
open override 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
open override val serviceFlows: List<Class<out FlowLogic<*>>>

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

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

List of RPC services

Link copied to clipboard
open override val targetPlatformVersion: Int

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

Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int