scalax.io.CommandLineParser

class OptionSpec

[source: scalax/io/CommandLineParser.scala]

sealed abstract class OptionSpec
extends AnyRef
Superclass of the specifications of permitted options.
Direct Known Subclasses:
CommandLineParser.OptionType, CommandLineParser.Flag, CommandLineParser.AllowAll, CommandLineParser.AllowNone, CommandLineParser.AllowAllBut, CommandLineParser.AllowAllButSelf

Method Summary
abstract def allow : scala.collection.Set[OptionSpec]
Specifies which other options may be used in conjunction with this one. This option must appear in its own allow list if it is allowed to appear more than once.
abstract def description : java.lang.String
abstract def longName : java.lang.String
abstract def shortName : scala.Option[Char]
Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Method Details
abstract def shortName : scala.Option[Char]

abstract def longName : java.lang.String

abstract def description : java.lang.String

abstract def allow : scala.collection.Set[OptionSpec]
Specifies which other options may be used in conjunction with this one. This option must appear in its own allow list if it is allowed to appear more than once.


Copyright (c) 2005-8 The Scalax Project. All Rights Reserved.