Class

za.co.absa.commons.config.ConfigurationImplicits

ConfigurationRequiredWrapper

Related Doc: package ConfigurationImplicits

Permalink

implicit final class ConfigurationRequiredWrapper[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. ConfigurationRequiredWrapper
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ConfigurationRequiredWrapper(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 getRequiredBigDecimal: (String) ⇒ BigDecimal

    Permalink

    Gets a value of big decimal configuration property and checks whether property exists.

    Gets a value of big decimal configuration property and checks whether property exists.

    returns

    A value of big decimal configuration property if exists, otherwise throws an exception.

  8. def getRequiredBoolean: (String) ⇒ Boolean

    Permalink

    Gets a value of boolean configuration property and checks whether property exists.

    Gets a value of boolean configuration property and checks whether property exists.

    returns

    A value of boolean configuration property if exists, otherwise throws an exception.

  9. def getRequiredByte: (String) ⇒ Byte

    Permalink

    Gets a value of byte configuration property and checks whether property exists.

    Gets a value of byte configuration property and checks whether property exists.

    returns

    A value of byte configuration property if exists, otherwise throws an exception.

  10. def getRequiredDouble: (String) ⇒ Double

    Permalink

    Gets a value of double configuration property and checks whether property exists.

    Gets a value of double configuration property and checks whether property exists.

    returns

    A value of double configuration property if exists, otherwise throws an exception.

  11. def getRequiredFloat: (String) ⇒ Float

    Permalink

    Gets a value of float configuration property and checks whether property exists.

    Gets a value of float configuration property and checks whether property exists.

    returns

    A value of float configuration property if exists, otherwise throws an exception.

  12. def getRequiredInt: (String) ⇒ Int

    Permalink

    Gets a value of int configuration property and checks whether property exists.

    Gets a value of int configuration property and checks whether property exists.

    returns

    A value of int configuration property if exists, otherwise throws an exception.

  13. def getRequiredLong: (String) ⇒ Long

    Permalink

    Gets a value of long configuration property and checks whether property exists.

    Gets a value of long configuration property and checks whether property exists.

    returns

    A value of long configuration property if exists, otherwise throws an exception.

  14. def getRequiredShort: (String) ⇒ Short

    Permalink

    Gets a value of short configuration property and checks whether property exists.

    Gets a value of short configuration property and checks whether property exists.

    returns

    A value of short configuration property if exists, otherwise throws an exception.

  15. def getRequiredString: (String) ⇒ String

    Permalink

    Gets a value of string configuration property and checks whether property exists.

    Gets a value of string configuration property and checks whether property exists.

    returns

    A value of string configuration property if exists, otherwise throws an exception.

  16. def getRequiredStringArray: (String) ⇒ 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 value of string array configuration property if not empty, otherwise throws an exception.

  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