spring-framework / org.springframework.test.annotation / SystemProfileValueSource

SystemProfileValueSource

open class SystemProfileValueSource : ProfileValueSource

Implementation of ProfileValueSource which uses system properties as the underlying source.

Author
Rod Johnson

Author
Sam Brannen

Since
2.0

Functions

get

open fun get(key: String): String

Get the profile value indicated by the specified key from the system properties.

getInstance

static fun getInstance(): SystemProfileValueSource

Obtain the canonical instance of this ProfileValueSource.