Packages

o

info.kwarc.mmt.api.utils

MMTSystem

object MMTSystem

Source
System.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MMTSystem
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class Classes(classFolder: File) extends DeployRunStyle with Product with Serializable

    run from classes in src/mmt-api folder

  2. sealed abstract class DeployRunStyle extends RunStyle

    run from expected folder structure

  3. case class DownloadedFatJar(jar: File) extends RunStyle with IsFat with Product with Serializable

    run from a fat jar that is not part of the expected file structure

  4. case class FatJar(jar: File) extends DeployRunStyle with IsFat with Product with Serializable

    run from installed fat jar

  5. sealed trait IsFat extends AnyRef

    run from self-contained mmt.jar

  6. sealed abstract class RunStyle extends AnyRef

    information about how MMT was run, needed to access resources

  7. case class ThinJars(deploy: File) extends DeployRunStyle with Product with Serializable

    run from mmt-api.jar in deploy folder

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. lazy val buildTime: Option[String]

    the time when this version of MMT (if far jar built with sbt) was built

  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def getLatestVersion: (String, String)

    Gets the latest version of the MMT System using the GitHub API.

    Gets the latest version of the MMT System using the GitHub API. May throw any kind of exception if it fails -- this should be handled by the caller. Returns a pair (version, url)

  12. def getResource(path: String): InputStream

    retrieves a resource from the jar or the resource folder depending on the RunStyle, may be null

  13. def getResourceAsString(path: String): String
  14. def getResourceList(path: String): List[String]

    return a list of available resources at the given path

  15. lazy val git: Git

    the git used by this MMT instance

  16. lazy val gitVersion: Option[String]

    the git version (branch) used by mmt, if available

  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. lazy val legalNotices: String

    legal notices, required by certain licenses

  20. lazy val manifest: Option[Map[String, String]]

    the manifest file (if run from fat jar)

  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. lazy val runStyle: RunStyle

    the RunStyle of the current run

  25. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. val userConfigFile: File

    expected location of the user's mmtrc file

  28. lazy val version: String

    the version of MMT being used

  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  32. object OtherStyle extends RunStyle with Product with Serializable

    run in unknown way, in particular as part of jedit

Inherited from AnyRef

Inherited from Any

Ungrouped