Packages

c

scala.tools.cmd

PropertyMapper

class PropertyMapper extends ((String, String)) ⇒ List[String]

Contains logic for translating a property key/value pair into equivalent command line arguments. The default settings will translate, given programInfo.runner == "foo" :

foo.bar=true to --bar // if --bar is unary foo.bar=quux to --bar quux // if --bar is binary

Source
Property.scala
Linear Supertypes
((String, String)) ⇒ List[String], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PropertyMapper
  2. Function1
  3. AnyRef
  4. Any
Implicitly
  1. by CollectionsHaveToParArray
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PropertyMapper(reference: Reference)

Value Members

  1. lazy val RunnerName: String
  2. def andThen[A](g: (List[String]) ⇒ A): ((String, String)) ⇒ A
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  3. def apply(kv: (String, String)): List[String]
    Definition Classes
    PropertyMapper → Function1
  4. def compose[A](g: (A) ⇒ (String, String)): (A) ⇒ List[String]
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  5. def isPassThrough(key: String): Boolean
  6. def isTrue(value: String): Boolean
  7. def onError(key: String, value: String): Unit
  8. def propNameToOptionName(key: String): Option[String]
  9. def toParArray: ParArray[T]
    Implicit
    This member is added by an implicit conversion from PropertyMapper to CollectionsHaveToParArray[PropertyMapper, T] performed by method CollectionsHaveToParArray in scala.collection.parallel. This conversion will take place only if an implicit value of type (PropertyMapper) ⇒ GenTraversableOnce[T] is in scope.
    Definition Classes
    CollectionsHaveToParArray
  10. def toString(): String
    Definition Classes
    Function1 → AnyRef → Any
  11. def translate(key: String, value: String): List[String]