final class ValidOption extends Product with Serializable
Represents a valid command-line option.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ValidOption
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new ValidOption(name: String, path: List[String], isCanonical: Boolean, shape: ParameterShape)
- name
the syntax that is accepted from the command-line. Normally the same as
path.mkString(".")for canonicalized options, but non-canonical options may drop a few prefixes from the path.- path
the nested keys to insert to update this option. For example, the path List("a", "b", "c") becomes the JSON object {"a": {"b": {"c": PARSED_OPTION }}} .
- isCanonical
a valid option can have many different names, is this the canonical name of this option? For example
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def canEqual(obj: Any): Boolean
- Definition Classes
- ValidOption → Equals
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(obj: Any): Boolean
- Definition Classes
- ValidOption → Equals → AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- ValidOption → AnyRef → Any
- val isCanonical: Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val name: String
- 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()
- val path: List[String]
- def productArity: Int
- Definition Classes
- ValidOption → Product
- def productElement(n: Int): Any
- Definition Classes
- ValidOption → Product
- def productElementName(n: Int): String
- Definition Classes
- ValidOption → Product
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def productIterator: Iterator[Any]
- Definition Classes
- Product
- def productPrefix: String
- Definition Classes
- ValidOption → Product
- val shape: ParameterShape
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- ValidOption → AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withIsCanonical(isCanonical: Boolean): ValidOption
- def withName(name: String): ValidOption
- def withPath(path: List[String]): ValidOption
- def withShape(shape: ParameterShape): ValidOption