Packages

c

work.martins.simon.expect.core

NuProcessRichProcess

case class NuProcessRichProcess(command: Seq[String], settings: Settings) extends RichProcess with LazyLogging with Product with Serializable

Source
RichProcess.scala
Linear Supertypes
Serializable, Serializable, Product, Equals, LazyLogging, RichProcess, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NuProcessRichProcess
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. LazyLogging
  7. RichProcess
  8. AnyRef
  9. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new NuProcessRichProcess(command: Seq[String], settings: Settings)

Type Members

  1. class ProcessHandler extends NuAbstractProcessHandler with LazyLogging

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from NuProcessRichProcess to any2stringadd[NuProcessRichProcess] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (NuProcessRichProcess, B)
    Implicit
    This member is added by an implicit conversion from NuProcessRichProcess to ArrowAssoc[NuProcessRichProcess] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val command: Seq[String]
    Definition Classes
    NuProcessRichProcessRichProcess
  9. val dequeReadAvailableOn: LinkedBlockingDeque[FromInputStream]
    Attributes
    protected
  10. def destroy(): Unit

    Destroys the process if it's still alive.

    Destroys the process if it's still alive.

    Definition Classes
    NuProcessRichProcessRichProcess
  11. def ensuring(cond: (NuProcessRichProcess) ⇒ Boolean, msg: ⇒ Any): NuProcessRichProcess
    Implicit
    This member is added by an implicit conversion from NuProcessRichProcess to Ensuring[NuProcessRichProcess] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: (NuProcessRichProcess) ⇒ Boolean): NuProcessRichProcess
    Implicit
    This member is added by an implicit conversion from NuProcessRichProcess to Ensuring[NuProcessRichProcess] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean, msg: ⇒ Any): NuProcessRichProcess
    Implicit
    This member is added by an implicit conversion from NuProcessRichProcess to Ensuring[NuProcessRichProcess] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean): NuProcessRichProcess
    Implicit
    This member is added by an implicit conversion from NuProcessRichProcess to Ensuring[NuProcessRichProcess] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from NuProcessRichProcess to StringFormat[NuProcessRichProcess] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  18. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  19. val handler: ProcessHandler
    Attributes
    protected
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. lazy val logger: Logger
    Attributes
    protected
    Definition Classes
    LazyLogging
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  25. val process: NuProcess
  26. def queueOf(from: FromInputStream = StdOut): BlockingDeque[Either[EOFException, String]]

    The corresponding queue for from.

    The corresponding queue for from.

    from

    which InputStream to get the queue of.

  27. def read(from: FromInputStream = StdOut)(implicit deadline: Deadline): String

    Tries to read from the selected InputStream of the process.

    Tries to read from the selected InputStream of the process. If no bytes are read within deadline a TimeoutException will be thrown. If the end of file is reached an EOFException is thrown. Otherwise, a String encoded with settings.charset is created from the read bytes.

    This method may block up until the deadline expires.

    Only one read operation, read or readOnFirstInputStream, is performed at the same time. No concurrent reads will be made.

    returns

    a String created from the read bytes encoded with charset.

    Definition Classes
    NuProcessRichProcessRichProcess
  28. def readOnFirstInputStream()(implicit deadline: Deadline): (FromInputStream, String)

    Tries to read from StdOut or StdErr of the process, whichever has output to offer first.

    Tries to read from StdOut or StdErr of the process, whichever has output to offer first. If no bytes are read within timeout a TimeoutException will be thrown. If the end of file is reached an EOFException is thrown. Otherwise, a String encoded with settings.charset is created from the read bytes.

    This method may block up until the deadline expires.

    Only one read operation, read or readOnFirstInputStream, is performed at the same time. No concurrent reads will be made.

    returns

    from which InputStream the output read from, and a String created from the read bytes encoded with charset.

    Definition Classes
    NuProcessRichProcessRichProcess
  29. val settings: Settings
    Definition Classes
    NuProcessRichProcessRichProcess
  30. val stdErrQueue: LinkedBlockingDeque[Either[EOFException, String]]
    Attributes
    protected
  31. val stdInQueue: LinkedBlockingDeque[String]
    Attributes
    protected
  32. val stdOutQueue: LinkedBlockingDeque[Either[EOFException, String]]
    Attributes
    protected
  33. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. def withCommand(command: Seq[String] = this.command): RichProcess
    Definition Classes
    NuProcessRichProcessRichProcess
  38. def write(text: String): Unit

    Writes to the StdIn of the process the bytes obtained from decoding text using settings.charset.

    Writes to the StdIn of the process the bytes obtained from decoding text using settings.charset.

    text

    the text to write to the OutputStream.

    Definition Classes
    NuProcessRichProcessRichProcess
  39. def [B](y: B): (NuProcessRichProcess, B)
    Implicit
    This member is added by an implicit conversion from NuProcessRichProcess to ArrowAssoc[NuProcessRichProcess] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from LazyLogging

Inherited from RichProcess

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from NuProcessRichProcess to any2stringadd[NuProcessRichProcess]

Inherited by implicit conversion StringFormat from NuProcessRichProcess to StringFormat[NuProcessRichProcess]

Inherited by implicit conversion Ensuring from NuProcessRichProcess to Ensuring[NuProcessRichProcess]

Inherited by implicit conversion ArrowAssoc from NuProcessRichProcess to ArrowAssoc[NuProcessRichProcess]

Ungrouped