de.tototec.sbuild.runner

SBuildRunner

class SBuildRunner extends AnyRef

SBuild command line application. API is not stable!

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SBuildRunner
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by any2stringfmt
  3. by any2ArrowAssoc
  4. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SBuildRunner()

Type Members

  1. class DependencyCache extends AnyRef

    This cache automatically resolves and caches dependencies of targets.

  2. class ExecProgress extends AnyRef

  3. class ParallelExecContext extends AnyRef

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

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

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def checkCacheableTargets(project: Project, printWarning: Boolean)(implicit baseProject: Project): Option[String]

    Check a project for target definition with cacheable or evictCache property.

    Check a project for target definition with cacheable or evictCache property. If cacheable targets are found but not at least one evictCache target, return a error message.

  10. def checkTargets(projects: Seq[Project])(implicit baseProject: Project): Seq[(Target, String)]

    Check all targets of the given projects for problems.

    Check all targets of the given projects for problems.

    Checked problems are: - invalid target names - missing dependencies - cycles in dependencies - missing scheme handlers

    returns

    A sequence of pairs of problematic target and a error message.

  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def createSBuildStub(projectFile: File, stubDir: File): Unit

    Create a new build file.

    Create a new build file. If a file with the same name exists in the stubDir, then this one will be copied, else a build file with one target will be created. If the file already exists, it will throw an de.tototec.sbuild.SBuildException.

  13. def dependenciesLastModified(dependencies: Seq[ExecutedTarget])(implicit project: Project): Long

  14. def determineRequestedTarget(target: String, searchInAllProjects: Boolean = false, supportCamelCaseShortCuts: Boolean = false)(implicit project: Project): Option[Target]

    Determine the requested target for the given input string.

  15. def determineRequestedTargets(targets: Seq[String], supportCamelCaseShortCuts: Boolean = false)(implicit project: Project): (Seq[Target], Seq[String])

  16. def ensuring(cond: (SBuildRunner) ⇒ Boolean, msg: ⇒ Any): SBuildRunner

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

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

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

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

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

    Definition Classes
    AnyRef → Any
  22. def fError(text: ⇒ String): Ansi

  23. def fErrorEmph(text: ⇒ String): Ansi

  24. def fMainTarget(text: ⇒ String): Ansi

  25. def fOk(text: ⇒ String): Ansi

  26. def fPercent(text: ⇒ String): Ansi

  27. def fTarget(text: ⇒ String): Ansi

  28. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  29. def formatProject(project: Project)(implicit baseProject: Project): String

  30. def formatTarget(target: Target)(implicit project: Project): String

  31. def formatted(fmtstr: String): String

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

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

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

    Definition Classes
    Any
  35. val isWindows: Boolean

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

    Definition Classes
    AnyRef
  37. final def notify(): Unit

    Definition Classes
    AnyRef
  38. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  39. def preorderedDependenciesForest(request: Seq[Target], execProgress: Option[ExecProgress] = None, skipExec: Boolean = false, dependencyTrace: List[Target] = List(), depth: Int = 0, treePrinter: Option[(Int, Target) ⇒ Unit] = None, dependencyCache: DependencyCache = new DependencyCache(), transientTargetCache: Option[TransientTargetCache] = None, treeParallelExecContext: Option[ParallelExecContext] = None)(implicit project: Project): Seq[ExecutedTarget]

    Visit a forest of targets, each target of parameter request is the root of a tree.

    Visit a forest of targets, each target of parameter request is the root of a tree. Each tree will search deep-first. If parameter skipExec is true, the associated actions will not executed. If skipExec is false, for each target the up-to-date state will be evaluated, and if the target is no up-to-date, the associated action will be executed.

  40. def preorderedDependenciesTree(curTarget: Target, execProgress: Option[ExecProgress] = None, skipExec: Boolean = false, dependencyTrace: List[Target] = Nil, depth: Int = 0, treePrinter: Option[(Int, Target) ⇒ Unit] = None, dependencyCache: DependencyCache = new DependencyCache(), transientTargetCache: Option[TransientTargetCache] = None, parallelExecContext: Option[ParallelExecContext] = None)(implicit project: Project): ExecutedTarget

    Visit each target of tree node deep-first.

    Visit each target of tree node deep-first.

    If parameter skipExec is true, the associated actions will not executed. If skipExec is false, for each target the up-to-date state will be evaluated, and if the target is no up-to-date, the associated action will be executed.

  41. def projectSorter(baseProject: Project)(l: Project, r: Project): Boolean

    Sort projects by their fully qualified build file name.

    Sort projects by their fully qualified build file name. The base project is always sorted to top position.

  42. def run(config: Config, classpathConfig: ClasspathConfig, bootstrapStart: Long = System.currentTimeMillis): Int

  43. def run(args: Array[String]): Int

    Run the SBuild (command line) application with the given arguments.

    Run the SBuild (command line) application with the given arguments.

    returns

    The exit value, 0 means no errors.

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

    Definition Classes
    AnyRef
  45. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. def [B](y: B): (SBuildRunner, B)

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

Shadowed Implicit Value Members

  1. val self: Any

    Implicit information
    This member is added by an implicit conversion from SBuildRunner to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (sBuildRunner: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from SBuildRunner to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (sBuildRunner: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def x: SBuildRunner

    Implicit information
    This member is added by an implicit conversion from SBuildRunner to ArrowAssoc[SBuildRunner] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (sBuildRunner: ArrowAssoc[SBuildRunner]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: SBuildRunner

    Implicit information
    This member is added by an implicit conversion from SBuildRunner to Ensuring[SBuildRunner] performed by method any2Ensuring in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (sBuildRunner: Ensuring[SBuildRunner]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from SBuildRunner to StringAdd

Inherited by implicit conversion any2stringfmt from SBuildRunner to StringFormat

Inherited by implicit conversion any2ArrowAssoc from SBuildRunner to ArrowAssoc[SBuildRunner]

Inherited by implicit conversion any2Ensuring from SBuildRunner to Ensuring[SBuildRunner]

Ungrouped