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. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. 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
  4. 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()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. lazy val RunnerName: String
  7. def andThen[A](g: (List[String]) ⇒ A): ((String, String)) ⇒ A
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  8. def apply(kv: (String, String)): List[String]
    Definition Classes
    PropertyMapper → Function1
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  11. def compose[A](g: (A) ⇒ (String, String)): (A) ⇒ List[String]
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  12. 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
  13. 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
  14. 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
  15. 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
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  18. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. def isPassThrough(key: String): Boolean
  23. def isTrue(value: String): Boolean
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. def onError(key: String, value: String): Unit
  28. def propNameToOptionName(key: String): Option[String]
  29. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  30. 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
  31. def toString(): String
    Definition Classes
    Function1 → AnyRef → Any
  32. def translate(key: String, value: String): List[String]
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  36. 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

  1. 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 of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

Inherited from ((String, String)) ⇒ List[String]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion CollectionsHaveToParArray from PropertyMapper to CollectionsHaveToParArray[PropertyMapper, T]

Inherited by implicit conversion any2stringadd from PropertyMapper to any2stringadd[PropertyMapper]

Inherited by implicit conversion StringFormat from PropertyMapper to StringFormat[PropertyMapper]

Inherited by implicit conversion Ensuring from PropertyMapper to Ensuring[PropertyMapper]

Inherited by implicit conversion ArrowAssoc from PropertyMapper to ArrowAssoc[PropertyMapper]

Ungrouped