abstract class Configuration extends AnyRef
- Alphabetic
- By Inheritance
- Configuration
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Configuration()
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clearConf(): Unit
clean the context for the configuration by clearing the configuration map defaults are used in case the values don't exist in the map
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- val confEntries: ConcurrentHashMap[String, String]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
get(key: String): String
Retrieves the value associated with the given key in the configuration
Retrieves the value associated with the given key in the configuration
- key
the key to lookup
- returns
the value associated with the key or null if the key doesn't exist
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getConf(): Map[String, String]
Returns a map of all configurations currently set
-
def
getConf[T](configEntry: ConfigEntry[T]): T
Generic functions that returns the config value of the given key or the default value if the config doesn't exist
Generic functions that returns the config value of the given key or the default value if the config doesn't exist
- configEntry
the config entry to be returned
- returns
the config value or the default value if the config value is not defined
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
set(key: String, value: String): Unit
Sets a new key in the configuration
Sets a new key in the configuration
- key
the key to set
- value
the value associated with the key
- final def setConf(params: Map[String, String]): Unit
-
def
setConf(params: Map[String, String]): Unit
Update the configuration with the following entries
Update the configuration with the following entries
- params
a map of parameters to be set
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
unset(key: String): Unit
Removes a key from the configuration
Removes a key from the configuration
- key
the key to remove
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )