com.nicta.scoobi.impl.Configurations

ExtendedConfiguration

Related Doc: package Configurations

class ExtendedConfiguration extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ExtendedConfiguration
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ExtendedConfiguration(conf: Configuration)

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. def addValues(key: String, values: String*): Configuration

    add a list of values to a Configuration, for a given key, with a comma separator

  5. def addValues(key: String, values: Seq[String], separator: String): Configuration

    add a list of values to a Configuration, for a given key, using a specific separator remove redundant values if there are any

  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def defines(key: String): Boolean

    returns

    true if a key is defined

  9. def distinctValues(key: String, separator: String): Configuration

    returns

    the updated configuration with distinct values

  10. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  14. def getOrSet(key: String, defaultValue: ⇒ String): String

    returns

    the value of the configuration for a given key or set it with a default value

  15. def getOrSetBoolean(key: String, defaultValue: ⇒ Boolean): Boolean

    returns

    the value of the configuration for a given Boolean key or set it with a default value

  16. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  17. def increment(key: String): Int

    increment an Int property by 1.

    increment an Int property by 1.

    Add a new key/value pair with value == 1 if the key didn't exist before

  18. def incrementRegex(key: String, keyRegex: String): Int

    increment an Int property by 1.

    increment an Int property by 1.

    The value to be incremented is specified as a list of values for keys corresponding to a regex. In that case the maximum value for those keys is taken and incremented

    See also

    FunctionInput

  19. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  23. def overrideWith(other: Configuration): Configuration

    add all the keys found in the other Configuration to this configuration

    add all the keys found in the other Configuration to this configuration

    returns

    the modified configuration object

  24. def overrideWith(map: Map[String, String]): Configuration

    add all the keys found in the other map to this configuration

    add all the keys found in the other map to this configuration

    returns

    the modified configuration object

  25. def show: String

    returns

    a string with all the key/values, one per line

  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  27. def toList: Seq[(String, String)]

  28. def toMap: Map[String, String]

  29. def toMutableMap: Map[String, String]

  30. def toString(): String

    Definition Classes
    AnyRef → Any
  31. def update(key: String, default: ⇒ String, f: (String) ⇒ String): Configuration

    update the value of a given key, using a default value if missing

  32. def update(key: String, default: ⇒ String): Configuration

    update the value of a given key, using a default value if missing

  33. def updateWith(update: PartialFunction[(String, String), (String, String)]): Configuration

    set all the keys defined by the partial function

    set all the keys defined by the partial function

    returns

    the modified configuration object

  34. def updateWith(other: Configuration)(update: PartialFunction[(String, String), (String, String)]): Configuration

    add all the keys found in the other Configuration to this configuration, possibly mapping to different keys or value if necessary

    add all the keys found in the other Configuration to this configuration, possibly mapping to different keys or value if necessary

    returns

    the modified configuration object

  35. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped