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
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- PropertyMapper
- Function1
- AnyRef
- Any
Implicitly
- by CollectionsHaveToParArray
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Value Members
- lazy val RunnerName: String
-
def
andThen[A](g: (List[String]) ⇒ A): ((String, String)) ⇒ A
- Definition Classes
- Function1
- Annotations
- @unspecialized()
-
def
apply(kv: (String, String)): List[String]
- Definition Classes
- PropertyMapper → Function1
-
def
compose[A](g: (A) ⇒ (String, String)): (A) ⇒ List[String]
- Definition Classes
- Function1
- Annotations
- @unspecialized()
- def isPassThrough(key: String): Boolean
- def isTrue(value: String): Boolean
- def onError(key: String, value: String): Unit
- def propNameToOptionName(key: String): Option[String]
-
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
-
def
toString(): String
- Definition Classes
- Function1 → AnyRef → Any
- def translate(key: String, value: String): List[String]
The Scala compiler and reflection APIs.