Object/Class

dagr.core.cmdline

DagrCoreMain

Related Docs: class DagrCoreMain | package cmdline

Permalink

object DagrCoreMain extends Configuration

Linear Supertypes
Configuration, ConfigurationLike, LazyLogging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DagrCoreMain
  2. Configuration
  3. ConfigurationLike
  4. LazyLogging
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def asType[T](path: String)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T]): T

    Permalink

    Converts the configuration path to the given type.

    Converts the configuration path to the given type. If the requested type is not supported, an exception is thrown. Override this method to support custom types.

    Attributes
    protected
    Definition Classes
    ConfigurationLike
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def commandLineName(name: String = "dagr"): String

    Permalink
    Definition Classes
    ConfigurationLike
  8. def config: Config

    Permalink

    Grabs a reference to the global configuration at creation time.

    Grabs a reference to the global configuration at creation time.

    Attributes
    protected
    Definition Classes
    Configuration → ConfigurationLike
  9. def configure[T](path: String, defaultValue: T)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T]): T

    Permalink

    Looks up a value in the configuration, and if present returns it, otherwise returns the default value provided.

    Looks up a value in the configuration, and if present returns it, otherwise returns the default value provided.

    Definition Classes
    ConfigurationLike
  10. def configure[T](path: String)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T]): T

    Permalink

    Looks up a single value of a specific type in configuration.

    Looks up a single value of a specific type in configuration. If the configuration key does not exist, an exception is thrown. If the requested type is not supported, an exception is thrown.

    Definition Classes
    ConfigurationLike
  11. def configureExecutable(path: String, executable: String): Path

    Permalink

    Attempts to determine the path to an executable, first by looking it up in config, and if that fails, by attempting to locate it on the system path.

    Attempts to determine the path to an executable, first by looking it up in config, and if that fails, by attempting to locate it on the system path. If both fail then an exception is raised.

    path

    the configuration path to look up

    executable

    the default name of the executable

    returns

    An absolute path to the executable to use

    Definition Classes
    ConfigurationLike
  12. def configureExecutableFromBinDirectory(binPath: String, executable: String, subDir: Option[Path] = None): Path

    Permalink

    Attempts to determine the path to an executable.

    Attempts to determine the path to an executable.

    The config path is assumed to be the directory containing the executable. If the config lookup fails, then we attempt to locate it on the system path. If both fail then an exception is raised. No validation is performed that the executable actually exists at the returned path.

    binPath

    the configuration path to look up, representing the directory containing the executable

    executable

    the default name of the executable

    subDir

    optionally a sub-directory within the bin-directory containing the executable.

    returns

    An absolute path to the executable to use

    Definition Classes
    ConfigurationLike
  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def getPackageList: List[String]

    Permalink

    The packages we wish to include in our command line *

    The packages we wish to include in our command line *

    Attributes
    protected
  18. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. lazy val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    LazyLogging
  21. def main(args: Array[String]): Unit

    Permalink

    The main method

  22. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. def optionallyConfigure[T](path: String)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T]): Option[T]

    Permalink

    Optionally accesses a configuration value.

    Optionally accesses a configuration value. If the value is not present in the configuration a None will be returned, else a Some(T) of the appropriate type.

    Definition Classes
    ConfigurationLike
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  27. def systemPath: Seq[Path]

    Permalink

    Grabs the config key "PATH" which, if not defined in config will default to the environment variable PATH, splits it on the path separator and returns it as a Seq[String]

    Grabs the config key "PATH" which, if not defined in config will default to the environment variable PATH, splits it on the path separator and returns it as a Seq[String]

    Attributes
    protected
    Definition Classes
    ConfigurationLike
  28. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  29. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Configuration

Inherited from ConfigurationLike

Inherited from LazyLogging

Inherited from AnyRef

Inherited from Any

Ungrouped