Packages

c

za.co.absa.commons.config.ConfigurationImplicits

ConfigurationOptionalWrapper

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)

    conf

    A configuration instance

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val conf: T
  6. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  7. def getOptionalBigDecimal: (String) ⇒ Option[BigDecimal]

    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]

    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]

    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]

    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]

    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]

    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]

    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]

    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]

    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]]

    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
    Definition Classes
    Any
  18. def toString(): String
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped