com.nicta.scoobi.impl.Configurations

ExtendedConfiguration

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: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

    Definition Classes
    Any
  6. def addValues(key: String, values: String*): Configuration

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

  7. 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

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

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

    returns

    true if a key is defined

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

    returns

    the updated configuration with distinct values

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

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

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

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

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

    returns

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

  17. 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

  18. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  19. 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

  20. 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

  21. final def isInstanceOf[T0]: Boolean

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

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

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

    Definition Classes
    AnyRef
  25. 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

  26. 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

  27. def show: String

    returns

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

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

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

  30. def toMap: Map[String, String]

  31. def toMutableMap: Map[String, String]

  32. def toString(): String

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

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

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

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

  35. 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

  36. 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

  37. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped