object ErgoTool
ErgoTool implementation, contains main entry point of the console application.
- See also
instructions in README to generate native executable
- Alphabetic
- By Inheritance
- ErgoTool
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
val
commands: Map[String, CmdDescriptor]
Commands supported by this application.
-
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] )
-
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
loadConfig(cmdOptions: Map[String, String]): ErgoToolConfig
Loads
ErgoToolConfig
from a file specified either by command line option--conf
or from the default file location -
def
main(args: Array[String]): Unit
Main entry point of console application.
-
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
options: Seq[CmdOption]
Options supported by this application
-
def
parseCmd(ctx: AppContext): Cmd
Parses the command parameters form the command line using AppContext and returns a new instance of the command configured with the parsed parameters.
-
def
printUsage(console: Console, cmdDescOpt: Option[CmdDescriptor]): Unit
Prints usage help to the console for the given command (if defined).
Prints usage help to the console for the given command (if defined). If the command is not defined, then print basic usage info about all commands.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
usageError(msg: String, cmdDescOpt: Option[CmdDescriptor]): Nothing
Should be used by ErgoTool to report usage errors
-
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( ... )