info.hupel.isabelle.setup

Setup

object Setup extends Serializable

Detecting and creating setups.

This object assumes that there is a base path in which all Isabelle setups reside. Given a version, the base path can either be searched for an existing setup, or an archive can be downloaded from the Internet and extracted into the path.

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Setup
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. case class Busy(path: Path) extends NoSetup with SetupImpossible with Product with Serializable

  2. case class Corrupted(path: Path) extends NoSetup with SetupImpossible with Product with Serializable

  3. case class InstallationError(t: Throwable) extends SetupImpossible with Product with Serializable

  4. sealed trait NoSetup extends AnyRef

    Common trait for a reason why a setup could not be detected.

  5. sealed trait SetupImpossible extends AnyRef

    Common trait for a reason why a setup could not be installed.

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. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  6. object Absent extends NoSetup with Product with Serializable

  7. object UnknownPlatform extends SetupImpossible with Product with Serializable

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def default(version: Version): Either[SetupImpossible, Setup]

    The default setup: default platform, detect existing setup, install if not existing.

  11. def detect(platform: Platform, version: Version): Either[NoSetup, Setup]

    Try to find an existing setup in the designated path of the platform.

  12. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  17. def install(platform: OfficialPlatform, version: Version): Either[SetupImpossible, Setup]

    Download an official copy of Isabelle from the Internet and extract it in the designated path according to the platform.

  18. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  22. def successMarker(path: Path): Path

    Location of the success marker file.

    Location of the success marker file.

    Detection of setups works by looking for the success marker file in the path of the setup. If the root path of the setup is present, but not the file, the setup is considered corrupted, for example because of a partial download.

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

    Definition Classes
    AnyRef
  24. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped