Packages

class MathHub extends LMHHub

Represents a (mutable) MathHub instance

Source
MathHub.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MathHub
  2. LMHHub
  3. Logger
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MathHub(controller: Controller, local: File, remote: URI, https: Boolean = true)

    controller

    the controller to use with this MathHub instance

    local

    the local path of the MathHub instance

    remote

    the remote URI of the MathHUb instance

    https

    should we use https or ssh for cloning?

Type Members

  1. class MathHubArchiveEntry extends MathHubEntry with LMHHubArchiveEntry
  2. class MathHubDirectoryEntry extends MathHubEntry with LMHHubDirectoryEntry
  3. abstract class MathHubEntry extends LMHHubEntry

    represents a single entry of a MathHub controller

  4. class MathHubGroupEntry extends MathHubEntry with LMHHubGroupEntry

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 api_(page: Int): URI
    Attributes
    protected
  5. def archiveEntries: List[LMHHubArchiveEntry]

    finds all archive entries available locally

    finds all archive entries available locally

    Definition Classes
    LMHHub
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def available(spec: String*): List[(String, Option[String])]

    resolves a list of available entries and returns pairs (id, version)

    resolves a list of available entries and returns pairs (id, version)

    Definition Classes
    LMHHub
  8. def available_(): List[String]

    return a list of available pages, at most 10

    return a list of available pages, at most 10

    Attributes
    protected
    Definition Classes
    MathHubLMHHub
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  10. val controller: Controller
    Definition Classes
    MathHubLMHHub
  11. def createEntry(id: String): Option[LMHHubEntry]

    creates a new repository of the given ID

    creates a new repository of the given ID

    Definition Classes
    MathHubLMHHub
  12. def dirEntries: List[LMHHubDirectoryEntry]

    finds all directory entries available locally

    finds all directory entries available locally

    Definition Classes
    LMHHub
  13. def entries(spec: String*): List[LMHHubEntry]

    find all repositories given a specification

    find all repositories given a specification

    Definition Classes
    LMHHub
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def getEntry(archive: Archive): Option[MathHubArchiveEntry]

    gets a single locally installed archive by an Archive instance

    gets a single locally installed archive by an Archive instance

    Definition Classes
    MathHubLMHHub
  19. def getEntry(id: String): Option[MathHubEntry]

    gets a single locally installed archive

    gets a single locally installed archive

    Definition Classes
    MathHubLMHHub
  20. def getEntry(root: File): Option[MathHubEntry]

    gets a single entry from the MathHub root

    gets a single entry from the MathHub root

    Definition Classes
    MathHubLMHHub
  21. lazy val git: Git

    implements git

    implements git

    Attributes
    protected
  22. def groupEntries: List[LMHHubGroupEntry]

    finds all group entries available locally

    finds all group entries available locally

    Definition Classes
    LMHHub
  23. def groupmf_(name: String): URI
    Attributes
    protected
  24. def hasEntry(root: File): Boolean
    Definition Classes
    LMHHub
  25. def hasEntry(archive: Archive): Boolean
    Definition Classes
    LMHHub
  26. def hasEntry(id: String): Boolean
    Definition Classes
    LMHHub
  27. def hasGroup(name: String): Boolean

    checks if a group exists on the remote MathHub

    checks if a group exists on the remote MathHub

    Definition Classes
    MathHubLMHHub
  28. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  29. var https: Boolean
  30. def installEntries(entries: List[(String, Option[String])], recursive: Boolean = false, update: Boolean = true): Unit

    installs a list of new entries at once by cloning them from the server

    installs a list of new entries at once by cloning them from the server

    Definition Classes
    MathHubLMHHub
  31. def installEntry(id: String, version: Option[String], recursive: Boolean = false, update: Boolean = true): Option[LMHHubEntry]

    installs a new entry by cloning it from the server

    installs a new entry by cloning it from the server

    id

    ID of archive to install

    version

    Optional version to be installed

    recursive

    If set to false, do not install archive dependencies

    update

    If set to false, do not update already installed archives

    returns

    the newly installed entry

    Definition Classes
    MathHubLMHHub
  32. def installedEntries: List[MathHubEntry]

    find all the archives known to the controller

    find all the archives known to the controller

    Definition Classes
    MathHubLMHHub
  33. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  34. var local: File
  35. def localPath(id: String): File

    get the default local path for a repository with the given id

    get the default local path for a repository with the given id

    Definition Classes
    MathHubLMHHub
  36. def log(e: Error): Unit

    logs an error - always logged

    logs an error - always logged

    Attributes
    protected
    Definition Classes
    Logger
  37. def log(s: ⇒ String, subgroup: Option[String] = None): Unit

    logs a message with this logger's logprefix

    logs a message with this logger's logprefix

    Attributes
    protected
    Definition Classes
    Logger
  38. def logError(s: ⇒ String): Unit

    log as an error message

    log as an error message

    Attributes
    protected
    Definition Classes
    Logger
  39. def logGroup[A](a: ⇒ A): A

    wraps around a group to create nested logging

    wraps around a group to create nested logging

    Attributes
    protected
    Definition Classes
    Logger
  40. val logPrefix: String
    Definition Classes
    LMHHubLogger
  41. def logTemp(s: ⇒ String): Unit

    temporary logging - always logged

    temporary logging - always logged

    Attributes
    protected
    Definition Classes
    Logger
  42. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  43. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  44. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  45. var remote: URI
  46. def remoteURL(id: String): String

    get the default remote url for a repository with a given id

    get the default remote url for a repository with a given id

    Definition Classes
    MathHubLMHHub
  47. def report: Report
    Attributes
    protected
    Definition Classes
    LMHHubLogger
  48. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  49. def toString(): String
    Definition Classes
    AnyRef → Any
  50. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  52. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  53. object MathHubEntry

Inherited from LMHHub

Inherited from Logger

Inherited from AnyRef

Inherited from Any

Ungrouped