Packages

abstract class LMHHub extends Logger

represents a hub of archives

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

Instance Constructors

  1. new LMHHub()

Abstract Value Members

  1. abstract def available_(): List[String]

    find a list of remotely available entries (if any)

    find a list of remotely available entries (if any)

    Attributes
    protected
  2. abstract def controller: Controller
  3. abstract def createEntry(id: String): Option[LMHHubEntry]

    creates a new archive

  4. abstract def getEntry(root: File): Option[LMHHubEntry]

    gets a single locally installed archive by a root folder

  5. abstract def getEntry(archive: Archive): Option[LMHHubArchiveEntry]

    gets a single locally installed archive by an Archive instance

  6. abstract def hasGroup(name: String): Boolean

    checks if a group exists remotely

  7. abstract def installEntries(entries: List[(String, Option[String])], recursive: Boolean = false, update: Boolean = true): Unit

    Same as installEntry, but optimised for multiple entries at once

  8. abstract def installEntry(id: String, version: Option[String], recursive: Boolean = false, update: Boolean = true): Option[LMHHubEntry]

    Install a new archive from the remote

    Install a new archive from the remote

    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

  9. abstract def installedEntries: List[LMHHubEntry]

    find all locally installed entries

  10. abstract def localPath(id: String): File

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

  11. abstract def remoteURL(id: String): String

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

Concrete 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 archiveEntries: List[LMHHubArchiveEntry]

    finds all archive entries available locally

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

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

  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  8. def dirEntries: List[LMHHubDirectoryEntry]

    finds all directory entries available locally

  9. def entries(spec: String*): List[LMHHubEntry]

    find all repositories given a specification

  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def getEntry(id: String): Option[LMHHubEntry]

    gets a single locally installed archive

  15. def groupEntries: List[LMHHubGroupEntry]

    finds all group entries available locally

  16. def hasEntry(root: File): Boolean
  17. def hasEntry(archive: Archive): Boolean
  18. def hasEntry(id: String): Boolean
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def log(e: Error): Unit

    logs an error - always logged

    logs an error - always logged

    Attributes
    protected
    Definition Classes
    Logger
  22. 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
  23. def logError(s: ⇒ String): Unit

    log as an error message

    log as an error message

    Attributes
    protected
    Definition Classes
    Logger
  24. 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
  25. val logPrefix: String
    Definition Classes
    LMHHubLogger
  26. def logTemp(s: ⇒ String): Unit

    temporary logging - always logged

    temporary logging - always logged

    Attributes
    protected
    Definition Classes
    Logger
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. def report: Report
    Attributes
    protected
    Definition Classes
    LMHHubLogger
  31. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  32. def toString(): String
    Definition Classes
    AnyRef → Any
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Logger

Inherited from AnyRef

Inherited from Any

Ungrouped