ConnectorCommandLinePropertySource

class ConnectorCommandLinePropertySource(commandLine: CommandLine, allLongOptions: List<String>) : MapPropertySource

Custom Micronaut MapPropertySource that reads the command line arguments provided via the connector CLI and turns them into configuration properties. This allows the arguments to be injected into code that depends on them via Micronaut.

Constructors

Link copied to clipboard
constructor(commandLine: CommandLine, allLongOptions: List<String>)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open fun asMap(): MutableMap<String, Any>
Link copied to clipboard
open operator override fun get(key: String): Any
Link copied to clipboard
open fun getConvention(): PropertySource.PropertyConvention
Link copied to clipboard
open fun getOrder(): Int
Link copied to clipboard
open operator override fun iterator(): MutableIterator<String>
Link copied to clipboard
open override fun toString(): String