com.spcapitaliq.platformexecuting

Capture

object Capture

Finding installed and jar-contained executables. captureTo is the key function for users of this object.

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

Type Members

  1. sealed abstract class LocalNotFound extends Error with Product with Serializable

    An error ADT for localExe and delegates.

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. object LocalNotFound extends Serializable

  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. def capturePaths(exe: String, resourceRoot: String, platform: Platform): NonEmptyList[String]

    Classloader resource paths at which an executable might be found.

    Classloader resource paths at which an executable might be found.

    returns

    In priority order, classpath resource identifiers, meant to be resolved by a classloader (not a class), at which an executable might be discovered.

  7. def captureTo(exe: String, resourceRoot: String, platform: Platform): String

    Where an executable ought to be stored in the classpath.

    Where an executable ought to be stored in the classpath.

    Note

    capturePaths(e, r, p) contains captureTo(e, r, p)

  8. def capturedExe(exe: String, resourceRoot: String): Option[URI]

    If exe has been captured, and is appropriate for this platform, yield its location.

    If exe has been captured, and is appropriate for this platform, yield its location. A building block for com.spcapitaliq.platformexecuting.Invoke.tempInvokableExe.

  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  12. def explicitExe(env: String): Option[\/[ViaEnvironment, File]]

    If an executable location is explicitly specified in the environment, sanity check it.

    If an executable location is explicitly specified in the environment, sanity check it. None means unspecified, Some Left means insane.

  13. def finalize(): Unit

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

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

    Definition Classes
    AnyRef → Any
  16. def implicitExe(exe: String, env: Option[String] = None): \/[ViaPath, File]

    Search the exec path for exe.

  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. def localExe(exe: String, env: Option[String]): \/[LocalNotFound, File]

    If env is set in the environment, prefer it, otherwise searching PATH.

    If env is set in the environment, prefer it, otherwise searching PATH. Answer a reason it couldn't be found, or a path to the exe.

  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. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  23. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped