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
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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from PropertyMapper to any2stringadd[PropertyMapper] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (PropertyMapper, B)
- Implicit
- This member is added by an implicit conversion from PropertyMapper to ArrowAssoc[PropertyMapper] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- 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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
compose[A](g: (A) ⇒ (String, String)): (A) ⇒ List[String]
- Definition Classes
- Function1
- Annotations
- @unspecialized()
-
def
ensuring(cond: (PropertyMapper) ⇒ Boolean, msg: ⇒ Any): PropertyMapper
- Implicit
- This member is added by an implicit conversion from PropertyMapper to Ensuring[PropertyMapper] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (PropertyMapper) ⇒ Boolean): PropertyMapper
- Implicit
- This member is added by an implicit conversion from PropertyMapper to Ensuring[PropertyMapper] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): PropertyMapper
- Implicit
- This member is added by an implicit conversion from PropertyMapper to Ensuring[PropertyMapper] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): PropertyMapper
- Implicit
- This member is added by an implicit conversion from PropertyMapper to Ensuring[PropertyMapper] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isPassThrough(key: String): Boolean
- def isTrue(value: String): Boolean
-
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 onError(key: String, value: String): Unit
- def propNameToOptionName(key: String): Option[String]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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]
-
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
- @throws( ... ) @native()
-
def
→[B](y: B): (PropertyMapper, B)
- Implicit
- This member is added by an implicit conversion from PropertyMapper to ArrowAssoc[PropertyMapper] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
Deprecated Value Members
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from PropertyMapper to StringFormat[PropertyMapper] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)instead ofvalue.formatted(formatString), or use thef""string interpolator. In Java 15 and later,formattedresolves to the new method in String which has reversed parameters.
The Scala compiler and reflection APIs.