net.corda.testing.driver - corda

corda / net.corda.testing.driver

## Package net.corda.testing.driver

### Types

#### DriverDSL | Underlying interface for the driver DSL. Do not instantiate directly, instead use the driver function. `interface DriverDSL`
#### DriverParameters | Builder for configuring a driver. `data class DriverParameters`
#### InProcess | Interface which represents an in process node and exposes available services. `interface InProcess : NodeHandle`
#### JmxPolicy | A class containing configuration information for Jolokia JMX, to be used when creating a node via the driver. `data class JmxPolicy`
#### NodeHandle | A base interface which represents a node as part of the driver dsl, extended by InProcess and OutOfProcess `interface NodeHandle : AutoCloseable`
#### NodeParameters | Parameters for creating a node for DriverDSL.startNode. `data class NodeParameters`
#### NotaryHandle | Object ecapsulating a notary started automatically by the driver. `data class NotaryHandle`
#### OutOfProcess | Interface which represents an out of process node and exposes its process handle. `interface OutOfProcess : NodeHandle`
#### PortAllocation | `abstract class PortAllocation`
#### VerifierType | `enum class VerifierType`
#### WebserverHandle | Class which represents a handle to a webserver process and its NetworkHostAndPort for testing purposes. `data class WebserverHandle`

### Functions

#### driver | driver allows one to start up nodes like this: driver { val noService = startNode(providedName = DUMMY_BANK_A.name) val notary = startNode(providedName = DUMMY_NOTARY.name) `fun <A> driver(defaultParameters: DriverParameters = DriverParameters(), dsl: DriverDSL.() -> A): A`
#### logFile | `fun NodeHandle.logFile(): File`