Class

za.co.absa.commons.config.ConfigurationImplicits

ConfigurationOptionalWrapper

Related Doc: package ConfigurationImplicits

Permalink

implicit final class ConfigurationOptionalWrapper[T <: Configuration] extends AnyVal

The class wraps the Configuration interface in order to provide extension methods.

T

A specific type implementing the Configuration interface

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ConfigurationOptionalWrapper
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ConfigurationOptionalWrapper(conf: T)

    Permalink

    conf

    A configuration instance

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. val conf: T

    Permalink

    A configuration instance

  6. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  7. def getOptionalBigDecimal: (String) ⇒ Option[BigDecimal]

    Permalink

    Gets a value of big decimal configuration property.

    Gets a value of big decimal configuration property.

    returns

    A Some wrapped value of big decimal configuration property if exists, otherwise None.

  8. def getOptionalBoolean: (String) ⇒ Option[Boolean]

    Permalink

    Gets a value of boolean configuration property.

    Gets a value of boolean configuration property.

    returns

    A Some wrapped value of boolean configuration property if exists, otherwise None.

  9. def getOptionalByte: (String) ⇒ Option[Byte]

    Permalink

    Gets a value of byte configuration property.

    Gets a value of byte configuration property.

    returns

    A Some wrapped value of byte configuration property if exists, otherwise None.

  10. def getOptionalDouble: (String) ⇒ Option[Double]

    Permalink

    Gets a value of double configuration property.

    Gets a value of double configuration property.

    returns

    A Some wrapped value of double configuration property if exists, otherwise None.

  11. def getOptionalFloat: (String) ⇒ Option[Float]

    Permalink

    Gets a value of float configuration property.

    Gets a value of float configuration property.

    returns

    A Some wrapped value of float configuration property if exists, otherwise None.

  12. def getOptionalInt: (String) ⇒ Option[Int]

    Permalink

    Gets a value of int configuration property.

    Gets a value of int configuration property.

    returns

    A Some wrapped value of int configuration property if exists, otherwise None.

  13. def getOptionalLong: (String) ⇒ Option[Long]

    Permalink

    Gets a value of long configuration property.

    Gets a value of long configuration property.

    returns

    A Some wrapped value of long configuration property if exists, otherwise None.

  14. def getOptionalShort: (String) ⇒ Option[Short]

    Permalink

    Gets a value of short configuration property.

    Gets a value of short configuration property.

    returns

    A Some wrapped value of short configuration property if exists, otherwise None.

  15. def getOptionalString: (String) ⇒ Option[String]

    Permalink

    Gets a value of string configuration property.

    Gets a value of string configuration property.

    returns

    A Some wrapped value of string configuration property if exists, otherwise None.

  16. def getOptionalStringArray: (String) ⇒ Option[Array[String]]

    Permalink

    Gets a value of string array configuration property and checks whether the array is not empty.

    Gets a value of string array configuration property and checks whether the array is not empty.

    returns

    A Some wrapped value of string array configuration property if not empty, otherwise None.

  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. def toString(): String

    Permalink
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped