Packages

c

za.co.absa.commons.config.ConfigurationImplicits

ConfigurationRequiredWrapper

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)

    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 getRequiredBigDecimal: (String) ⇒ BigDecimal

    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

    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

    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

    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

    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

    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

    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

    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

    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]

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

Inherited from AnyVal

Inherited from Any

Ungrouped