All Types

net.corda.finance.flows.AbstractCashFlow

Initiates a flow that produces an Issue/Move or Exit Cash transaction.

net.corda.finance.workflows.asset.selection.AbstractCashSelection

Pluggable interface to allow for different cash selection provider implementations Default implementation in finance workflow module uses H2 database and a custom function within H2 to perform aggregation. Custom implementations must implement this interface and declare their implementation in META-INF/services/net.corda.finance.workflows.asset.selection.AbstractCashSelection.

net.corda.core.contracts.Amount (extensions in package net.corda.finance)
net.corda.testing.dsl.AttachmentResolutionException
net.corda.finance.flows.CashException
net.corda.finance.flows.CashExitFlow

Initiates a flow that produces an cash exit transaction.

net.corda.finance.flows.CashExitResponderFlow
net.corda.finance.flows.CashIssueAndPaymentFlow

Initiates a flow that self-issues cash and then send this to a recipient.

net.corda.finance.flows.CashIssueFlow

Initiates a flow that self-issues cash (which should then be sent to recipient(s) using a payment transaction).

net.corda.finance.flows.CashPaymentFlow

Initiates a flow that sends cash to a recipient.

net.corda.finance.flows.CashPaymentReceiverFlow
net.corda.finance.test.CashSchema

An object used to fully qualify the CashSchema family name (i.e. independent of version).

net.corda.finance.workflows.asset.selection.CashSelectionH2Impl
net.corda.finance.workflows.asset.selection.CashSelectionPostgreSQLImpl
net.corda.finance.workflows.asset.selection.CashSelectionSQLServerImpl
net.corda.finance.workflows.asset.CashUtils
net.corda.testing.node.ClusterSpec

Abstract class specifying information about the consensus algorithm used for a cluster of nodes.

net.corda.finance.workflows.CommercialPaperUtils
net.corda.client.rpc.ConnectionFailureException

Signals that the underlying RPCConnection dropped.

net.corda.client.rpc.CordaRPCClient

An RPC client connects to the specified server and allows you to make calls to the server that perform various useful tasks. Please see the Client RPC section of docs.corda.net to learn more about how this API works. A brief description is provided here.

net.corda.client.rpc.CordaRPCClientConfiguration

Can be used to configure the RPC client connection.

net.corda.client.rpc.CordaRPCConnection

This class is essentially just a wrapper for an RPCConnection and can be treated identically.

net.corda.core.messaging.CordaRPCOps (extensions in package net.corda.finance.workflows)
net.corda.client.rpc.reconnect.CouldNotStartFlowException

Thrown when a flow start command died before receiving a net.corda.core.messaging.FlowHandle. On catching this exception, the typical behaviour is to run a "logical retry", meaning only retry the flow if the expected outcome did not occur.

java.util.Currency (extensions in package net.corda.finance)
kotlin.Double (extensions in package net.corda.finance)
net.corda.testing.dsl.DoubleSpentInputs
net.corda.testing.driver.DriverDSL

Underlying interface for the driver DSL. Do not instantiate directly, instead use the driver function.

net.corda.testing.driver.DriverParameters

Builder for configuring a driver.

net.corda.testing.dsl.DuplicateOutputLabel
net.corda.testing.dsl.EnforceVerifyOrFail

If you jumped here from a compiler error make sure the last line of your test tests for a transaction verify or fail. This is a dummy type that can only be instantiated by functions in this module. This way we can ensure that all tests will have as the last line either an accept or a failure test. The name is deliberately long to help make sense of the triggered diagnostic.

net.corda.core.flows.FlowLogic (extensions in package net.corda.testing.flows)
net.corda.client.rpc.GracefulReconnect

GracefulReconnect provides the opportunity to perform certain logic when the RPC encounters a connection disconnect during communication with the node.

net.corda.testing.http.HttpApi
net.corda.testing.http.HttpUtils

A small set of utilities for making HttpCalls, aimed at demos and tests.

net.corda.testing.node.InMemoryMessagingNetwork

An in-memory network allows you to manufacture MockNodeMessagingServices for a set of participants. Each MockNodeMessagingService maintains a queue of messages it has received, and a background thread that dispatches messages one by one to registered handlers. Alternatively, a messaging system may be manually pumped, in which case no thread is created and a caller is expected to force delivery one at a time (this is useful for unit testing).

net.corda.testing.driver.InProcess

Interface which represents an in process node and exposes available services.

kotlin.Int (extensions in package net.corda.finance)
net.corda.client.jackson.JacksonSupport

Utilities and serialisers for working with JSON representations of basic types. This adds Jackson support for the java.time API, some core types, and Kotlin data classes.

net.corda.testing.driver.JmxPolicy

A class containing configuration information for Jolokia JMX, to be used when creating a node via the driver.

kotlin.reflect.KClass (extensions in package net.corda.testing.flows)
net.corda.testing.dsl.LedgerDSL

This is the class that defines the syntactic sugar of the ledger Test DSL and delegates to the contained interpreter, and what is actually used in ledger { (...) }. Add convenience functions here, or if you want to extend the DSL functionality then first add your primitive to LedgerDSLInterpreter and then add the convenience defaults/extension methods here.

net.corda.testing.dsl.LedgerDSLInterpreter

This interface defines the bare bone functionality that a Ledger DSL interpreter should implement.

kotlin.Long (extensions in package net.corda.finance)
kotlin.collections.Map (extensions in package net.corda.testing.flows)
net.corda.client.rpc.MaxRpcRetryException

Thrown to indicate an RPC operation has been retried for the maxNumberOfRetries unsuccessfully.

net.corda.testing.services.MockAttachmentStorage

A mock implementation of AttachmentStorage for use within tests

net.corda.testing.node.MockNetFlowTimeOut

MockNetFlowTimeOut can be used to configure flow time out settings for a node via the mock network API.

net.corda.testing.node.MockNetNotaryConfig

MockNetNotaryConfig can be used to configure a node to be a notary via the mock network API. Internally this will be translated into a NotaryConfiguration and passed to the respective node.

net.corda.testing.node.MockNetwork

A mock node brings up a suite of in-memory services in a fast manner suitable for unit testing. Components that do IO are either swapped out for mocks, or pointed to a Jimfs in memory filesystem or an in memory H2 database instance.

net.corda.testing.node.MockNetworkNotarySpec

The spec for a notary which will used by the MockNetwork to automatically start a notary node. This notary will become part of the network parameters used by all the nodes.

net.corda.testing.node.MockNetworkParameters

Immutable builder for configuring a MockNetwork.

net.corda.testing.node.MockNodeConfigOverrides

This is a data class to configure overrides to the node configuration used in the mock network without having to expose/use the actual (internal) node configuration interface on the API. When passing one of these to createNode or createUnstartedNode functions, the bits that are set will be injected into the node configuration for the node to be created.

net.corda.testing.node.MockNodeParameters

Immutable builder for configuring a StartedMockNode or an UnstartedMockNode via MockNetwork.createNode and MockNetwork.createUnstartedNode. Kotlin users can also use the named parameters overloads of those methods which are more convenient.

net.corda.testing.node.MockServices

An implementation of ServiceHub that is designed for in-memory unit tests of contract validation logic. It has enough functionality to do tests of code that queries the vault, inserts to the vault, and constructs/checks transactions. However it isn't enough to test flows and other aspects of an app that require a network. For that you should investigate MockNetwork.

net.corda.testing.driver.NodeHandle

A base interface which represents a node as part of the driver dsl, extended by InProcess and OutOfProcess

net.corda.testing.driver.NodeParameters

Parameters for creating a node for DriverDSL.startNode.

net.corda.testing.driver.NotaryHandle

Object ecapsulating a notary started automatically by the driver.

net.corda.testing.node.NotarySpec

A notary spec for describing a notary which will be started automatically by the driver and which will be part of the network parameters used by all the nodes.

net.corda.finance.workflows.asset.ObligationUtils
rx.Observable (extensions in package net.corda.client.rpc)
net.corda.testing.driver.OutOfProcess

Interface which represents an out of process node and exposes its process handle.

net.corda.testing.dsl.OutputStateLookup

This interface defines output state lookup by label. It is split from the interpreter interfaces so that outputs may be looked up both in ledger{..} and transaction{..} blocks.

net.corda.client.rpc.PermissionException

Thrown to indicate that the calling user does not have permission for something they have requested (for example calling a method).

net.corda.testing.driver.PortAllocation
net.corda.client.rpc.RPCConnection

Holds a proxy object implementing I that forwards requests to the RPC server. The server version can be queried via this interface.

net.corda.client.rpc.RPCException

Thrown to indicate a fatal error in the RPC system itself, as opposed to an error generated by the invoked method.

net.corda.client.rpc.RPCSinceVersion

Records the protocol version in which this RPC was added.

net.corda.finance.test.SampleCashSchemaV1

First version of a cash contract ORM schema that maps all fields of the Cash contract state as it stood at the time of writing.

net.corda.finance.test.SampleCashSchemaV2

Second version of a cash contract ORM schema that extends the CommonSchemaV1.FungibleState abstract schema.

net.corda.finance.test.SampleCashSchemaV3

First version of a cash contract ORM schema that maps all fields of the Cash contract state as it stood at the time of writing.

net.corda.core.node.ServiceHub (extensions in package net.corda.finance.workflows)
net.corda.core.node.ServiceHub (extensions in package net.corda.testing.node)
net.corda.testing.node.StartedMockNode

A class that represents a started mock node for testing.

net.corda.client.jackson.StringToMethodCallParser

This class parses strings in a format designed for human usability into ParsedMethodCall objects representing a ready-to-invoke call on the given target object. The strings accepted by this class are a minor variant of Yaml and can be easily typed at a command line. Intended use cases include things like the Corda shell, text-based RPC dispatch, simple scripting and so on.

net.corda.testing.node.TestClock

A Clock that can have the time advanced for use in testing.

net.corda.testing.node.TestCordapp

Encapsulates a CorDapp that exists on the current classpath, which can be pulled in for testing. Use TestCordapp.findCordapp to locate an existing CorDapp.

net.corda.testing.dsl.TestLedgerDSLInterpreter
net.corda.testing.dsl.TestTransactionDSLInterpreter

This interpreter builds a transaction, and TransactionDSL.verifies that the resolved transaction is correct. Note that transactions corresponding to input states are not verified. Use LedgerDSL.verifies for that.

net.corda.testing.dsl.TransactionDSL

Underlying class for the transaction DSL. Do not instantiate directly, instead use the transaction function.

net.corda.testing.dsl.TransactionDSLInterpreter

This interface defines the bare bone functionality that a Transaction DSL interpreter should implement.

net.corda.finance.flows.TwoPartyDealFlow

Classes for manipulating a two party deal or agreement.

net.corda.finance.flows.TwoPartyTradeFlow

This asset trading flow implements a "delivery vs payment" type swap. It has two parties (B and S for buyer and seller) and the following steps:

net.corda.finance.workflows.utils.UnknownCalendar
net.corda.client.rpc.UnrecoverableRPCException

Thrown to indicate a fatal error in the RPC system which cannot be recovered from and so needs some manual support.

net.corda.testing.node.UnstartedMockNode

A class that represents an unstarted mock node for testing.

net.corda.testing.node.User

Object encapsulating a node rpc user and their associated permissions for use when testing using the driver

net.corda.testing.driver.VerifierType
net.corda.testing.dsl.Verifies

This interface asserts that the DSL at hand is capable of verifying its underlying construct(ledger/transaction).

net.corda.testing.driver.WebserverHandle

Class which represents a handle to a webserver process and its NetworkHostAndPort for testing purposes.