class Argument extends AnyRef
Defines a command line argument. Unlike options, argument don't have names and are identified using an index. The first index is 0 (because we are in the computer world).
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Argument
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new Argument(_asJava: core.cli.Argument)
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 asJava: core.cli.Argument
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def getArgName: String
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getDefaultValue: String
- def getDescription: String
- def getIndex: Int
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def isHidden: Boolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isMultiValued: Boolean
- def isRequired: 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
setArgName(value: String): Argument
Sets the argument name of this Argument.
-
def
setDefaultValue(value: String): Argument
Sets the default value of this Argument.
-
def
setDescription(value: String): Argument
Sets the description of the Argument.
-
def
setHidden(value: Boolean): Argument
Sets whether or not the current Argument is hidden.
-
def
setIndex(value: Int): Argument
Sets the argument index.
-
def
setMultiValued(value: Boolean): Argument
Sets whether or not the argument can receive several values.
Sets whether or not the argument can receive several values. Only the last argument can receive several values.
-
def
setRequired(value: Boolean): Argument
Sets whether or not the current Argument is required.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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
- @native() @throws( ... )