corda / com.r3.corda.networkmanage.common.utils / ServiceCommand

ServiceCommand

abstract class ServiceCommand : BaseServiceCommand

Types

ServiceType

enum class ServiceType

Constructors

<init>

ServiceCommand(serviceName: String = "Network services and tools", documentation: String = DOCS_URL)

Properties

obfuscationOptions

lateinit var obfuscationOptions: <ERROR CLASS>

services

var services: List<ServiceType>?

Inherited Properties

loggingLevel

var loggingLevel: <ERROR CLASS>

verbose

var verbose: Boolean

Functions

amendStoreLocation

fun <ERROR CLASS>.amendStoreLocation(workingDirPath: Path): <ERROR CLASS>
fun <ERROR CLASS>.amendStoreLocation(workingDirPath: Path): <ERROR CLASS>

generateNormalisedPathString

fun generateNormalisedPathString(workingDir: Path, child: String): Path

suppressSqlException

fun suppressSqlException(serviceName: String, block: () -> Unit): Unit

validateCommandLineFlags

open fun validateCommandLineFlags(): Unit

Inherited Functions

run

open fun run(): Unit

Top level wrapper used when executing any subclass command. Sets up exception handler to prevent stack traces being dumped to the console and also handles version or help requests.