Class

dagr.core.cmdline

DagrCoreArgs

Related Doc: package cmdline

Permalink

class DagrCoreArgs extends LazyLogging

The main class for Dagr. Command line arguments are parsed here, and the given pipeline or task is subsequently executed.

Linear Supertypes
LazyLogging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DagrCoreArgs
  2. LazyLogging
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DagrCoreArgs(config: Option[Path] = None, failFast: Boolean = false, scriptDir: Option[Path] = None, logDir: Option[Path] = None, logLevel: LogLevel = LogLevel.Info, scripts: List[Path] = Nil, cores: Option[Double] = None, memory: Option[String] = None, report: Option[Path] = None, interactive: Boolean = false)

    Permalink

    config

    the path to an configuration file for any tasks-specific options. See Configuration to access the parsed configuration. The file may be a Java properties or JSON file. See https://github.com/typesafehub/config for more information.

    scriptDir

    the path to where scripts will be stored, holding the commands for dagr.core.tasksystem.ProcessTask tasks. If none is given, a temporary directory will be created.

    logDir

    the path to where log files will be stored, holding the commands for dagr.core.tasksystem.ProcessTask tasks. If none is given, a temporary directory will be created.

    logLevel

    the verbosity level for logging.

    scripts

    a list of Dagr (scala) scripts to be included in the command line. Use this option to inject and execute custom tasks and pipelines without having to re-compile Dagr.

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from DagrCoreArgs to any2stringadd[DagrCoreArgs] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (DagrCoreArgs, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from DagrCoreArgs to ArrowAssoc[DagrCoreArgs] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

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

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val config: Option[Path]

    Permalink

    the path to an configuration file for any tasks-specific options.

    the path to an configuration file for any tasks-specific options. See Configuration to access the parsed configuration. The file may be a Java properties or JSON file. See https://github.com/typesafehub/config for more information.

  9. val cores: Option[Double]

    Permalink
  10. def ensuring(cond: (DagrCoreArgs) ⇒ Boolean, msg: ⇒ Any): DagrCoreArgs

    Permalink
    Implicit information
    This member is added by an implicit conversion from DagrCoreArgs to Ensuring[DagrCoreArgs] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: (DagrCoreArgs) ⇒ Boolean): DagrCoreArgs

    Permalink
    Implicit information
    This member is added by an implicit conversion from DagrCoreArgs to Ensuring[DagrCoreArgs] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean, msg: ⇒ Any): DagrCoreArgs

    Permalink
    Implicit information
    This member is added by an implicit conversion from DagrCoreArgs to Ensuring[DagrCoreArgs] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean): DagrCoreArgs

    Permalink
    Implicit information
    This member is added by an implicit conversion from DagrCoreArgs to Ensuring[DagrCoreArgs] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  16. def execute(pipeline: Pipeline): Int

    Permalink

    Attempts to setup the various directories needed to executed the pipeline, execute it, and generate an execution report.

    Attempts to setup the various directories needed to executed the pipeline, execute it, and generate an execution report.

    Attributes
    protected[dagr.core.cmdline]
  17. val failFast: Boolean

    Permalink
  18. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from DagrCoreArgs to StringFormat[DagrCoreArgs] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  20. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  21. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  22. var interactive: Boolean

    Permalink
  23. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  24. val logDir: Option[Path]

    Permalink

    the path to where log files will be stored, holding the commands for dagr.core.tasksystem.ProcessTask tasks.

    the path to where log files will be stored, holding the commands for dagr.core.tasksystem.ProcessTask tasks. If none is given, a temporary directory will be created.

  25. val logLevel: LogLevel

    Permalink

    the verbosity level for logging.

  26. lazy val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    LazyLogging
  27. val memory: Option[String]

    Permalink
  28. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  31. val report: Option[Path]

    Permalink
  32. val scriptDir: Option[Path]

    Permalink

    the path to where scripts will be stored, holding the commands for dagr.core.tasksystem.ProcessTask tasks.

    the path to where scripts will be stored, holding the commands for dagr.core.tasksystem.ProcessTask tasks. If none is given, a temporary directory will be created.

  33. val scripts: List[Path]

    Permalink

    a list of Dagr (scala) scripts to be included in the command line.

    a list of Dagr (scala) scripts to be included in the command line. Use this option to inject and execute custom tasks and pipelines without having to re-compile Dagr.

  34. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  35. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. def [B](y: B): (DagrCoreArgs, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from DagrCoreArgs to ArrowAssoc[DagrCoreArgs] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from LazyLogging

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from DagrCoreArgs to any2stringadd[DagrCoreArgs]

Inherited by implicit conversion StringFormat from DagrCoreArgs to StringFormat[DagrCoreArgs]

Inherited by implicit conversion Ensuring from DagrCoreArgs to Ensuring[DagrCoreArgs]

Inherited by implicit conversion ArrowAssoc from DagrCoreArgs to ArrowAssoc[DagrCoreArgs]

Ungrouped