object ConfigKey extends ConfigKeyRuntimePlatform
- Source
- ConfigKey.scala
Linear Supertypes
Ordering
- Grouped
- Alphabetic
- By Inheritance
Inherited
- ConfigKey
- ConfigKeyRuntimePlatform
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def apply(description: => String): ConfigKey
Returns a new ConfigKey with the specified description.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- implicit final val configKeyEq: Eq[ConfigKey]
- implicit final val configKeyShow: Show[ConfigKey]
- final def env(name: String): ConfigKey
Returns a new ConfigKey for the specified environment variable.
Returns a new ConfigKey for the specified environment variable.
scala> val apiKey = ConfigKey.env("API_KEY") apiKey: ConfigKey = ConfigKey(environment variable API_KEY) scala> apiKey.description res0: String = environment variable API_KEY
Example: - final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def file(path: Path, charset: Charset): ConfigKey
Returns a new ConfigKey for the specified path and charset.
Returns a new ConfigKey for the specified path and charset.
- Definition Classes
- ConfigKeyRuntimePlatform
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def prop(name: String): ConfigKey
Returns a new ConfigKey for the specified system property.
Returns a new ConfigKey for the specified system property.
scala> val apiKey = ConfigKey.prop("api.key") apiKey: ConfigKey = ConfigKey(system property api.key) scala> apiKey.description res0: String = system property api.key
Example: - final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def unapply(key: ConfigKey): Some[String]
Returns the description for the specified ConfigKey.
Returns the description for the specified ConfigKey.
This function enables pattern matching on ConfigKeys.
scala> val apiKey = ConfigKey.env("API_KEY") apiKey: ConfigKey = ConfigKey(environment variable API_KEY) scala> apiKey match { case ConfigKey(description) => description } res0: String = environment variable API_KEY
Example: - final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)