case class AppContext(commandLineArgs: Seq[String], console: Console, cmdOptions: Map[String, String], cmdArgs: Seq[String], toolConf: ErgoToolConfig, clientFactory: (AppContext) ⇒ ErgoClient) extends Product with Serializable
Application execution context. Contains all the data necessary to parse and execute command.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- AppContext
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new AppContext(commandLineArgs: Seq[String], console: Console, cmdOptions: Map[String, String], cmdArgs: Seq[String], toolConf: ErgoToolConfig, clientFactory: (AppContext) ⇒ ErgoClient)
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
-
def
apiKey: String
ApiKey which is used for Ergo node API authentication.
ApiKey which is used for Ergo node API authentication. This is a secret key whose hash was used in Ergo node config.
-
def
apiUrl: String
Url of the Ergo node API end point
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val clientFactory: (AppContext) ⇒ ErgoClient
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- val cmdArgs: Seq[String]
- val cmdOptions: Map[String, String]
- val commandLineArgs: Seq[String]
- val console: Console
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
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
isDryRun: Boolean
Returns true if DryRunOption is defined in command line.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isPrintJson: Boolean
Returns true if PrintJsonOption is defined in command line.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
networkType: NetworkType
Returns expected network type (Mainnet or Testnet)
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val toolConf: ErgoToolConfig
-
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( ... )