Packages

class BuildTask extends MMTTask

auxiliary type to represent the parameters and result of building a file/directory

this is no case class due to a state-dependent error continuation

Source
BuildTarget.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BuildTask
  2. MMTTask
  3. Killable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BuildTask(key: String, archive: Archive, inFile: File, children: Option[List[BuildTask]], inPath: FilePath, outFile: File, errorCont: OpenCloseHandler)

    inFile

    the input file

    children

    the build tasks of the children if this task refers to a directory

    inPath

    the path of the input file inside the archive, relative to the input dimension

    outFile

    the intended output file

    errorCont

    BuildTargets should report errors here (instead of directly writing to errFile)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addListener(l: MMTTaskProgressListener): Unit
    Definition Classes
    MMTTask
  5. val archive: Archive
  6. def asDependency: BuildDependency
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. val base: URI

    the narration-base of the containing archive

  9. val children: Option[List[BuildTask]]
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  11. def contentDPath: DPath

    the DPath corresponding to the inFile if inFile is a folder in a content-structured dimension

  12. def contentMPath: MPath

    the MPath corresponding to the inFile if inFile is a file in a content-structured dimension

  13. def diesWith(implicit that: Killable): BuildTask.this.type

    gives a killable object the same kill button as one that is already around

    gives a killable object the same kill button as one that is already around

    For example, when processing a task, generates a subtask, this should be called on the subtask to ensure killing the overall task also kills the subtask.

    Definition Classes
    Killable
  14. def dirName: String

    the name of the folder if inFile is a folder

  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  17. val errorCont: OpenCloseHandler
  18. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. def getReports: List[MMTTaskProgress]

    get all reports in reverse chronological order

    get all reports in reverse chronological order

    Definition Classes
    MMTTask
  21. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. val inFile: File
  23. val inPath: FilePath
  24. def isDir: Boolean
  25. def isEmptyDir: Boolean
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. def isKilled: Boolean

    processing should be aborted gracefully if true

    processing should be aborted gracefully if true

    Definition Classes
    Killable
  28. val key: String
  29. def kill: Unit

    signals aborting of processing

    signals aborting of processing

    Definition Classes
    Killable
  30. def narrationDPath: DPath

    the DPath corresponding to the inFile if inFile is in a narration-structured dimension

  31. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  32. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  33. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  34. val outFile: File
  35. def outPath: FilePath

    (possibly shorter) output file name to be shown in user messages

  36. def removeListener(l: MMTTaskProgressListener): Unit
    Definition Classes
    MMTTask
  37. def reportProgress(a: MMTTaskProgress): Unit

    adds a report and forwards it to all listeners

    adds a report and forwards it to all listeners

    Definition Classes
    MMTTask
  38. def setTimeout[A](millisec: Int)(f: () ⇒ Unit): BuildTask.this.type

    presses the kill button after the specified number of milli seconds

    presses the kill button after the specified number of milli seconds

    Definition Classes
    Killable
  39. var skipped: Boolean

    build targets should set this to true if they skipped the file so that it is not passed on to the parent directory

  40. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  41. def toString(): String
    Definition Classes
    AnyRef → Any
  42. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from MMTTask

Inherited from Killable

Inherited from AnyRef

Inherited from Any

Ungrouped