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
- Alphabetic
- By Inheritance
- ConfigurationRequiredWrapper
- AnyVal
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
ConfigurationRequiredWrapper(conf: T)
- conf
A configuration instance
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val conf: T
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
toString(): String
- Definition Classes
- Any