Packages

c

top.scaleda.kernel.shell

ScaledaRunHandlerToArray

class ScaledaRunHandlerToArray extends ScaledaRunHandler

RunHandler that records return value and outputs to returnValues

Linear Supertypes
ScaledaRunHandler, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ScaledaRunHandlerToArray
  2. ScaledaRunHandler
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ScaledaRunHandlerToArray(returnValues: Option[ArrayBuffer[Int]], outputs: ArrayBuffer[String], errors: Option[ArrayBuffer[String]] = None)

    returnValues

    optional array to store results

    outputs

    array to store stdout outputs

    errors

    array to store stderr outputs

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def expectedReturnValue: Int
    Definition Classes
    ScaledaRunHandler
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. def isTerminating: Boolean

    Return true if handler is stopping this process

    Return true if handler is stopping this process

    returns

    terminating

    Definition Classes
    ScaledaRunHandler
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  16. def onReturn(returnValue: Int, finishedAll: Boolean, meetErrors: Boolean): Unit

    Invoked when one return value captured, and finishedAll == true after all commands done

    Invoked when one return value captured, and finishedAll == true after all commands done

    returnValue

    return value

    finishedAll

    is all commands finished

    meetErrors

    has errors when executing

    Definition Classes
    ScaledaRunHandlerToArrayScaledaRunHandler
  17. def onShellCommand(command: CommandDeps): Unit

    Invoked before every command call

    Invoked before every command call

    command

    command

    Definition Classes
    ScaledaRunHandler
  18. def onStderr(data: String): Unit
  19. def onStdout(data: String): Unit
  20. def onStepDescription(data: String): Unit
    Definition Classes
    ScaledaRunHandler
  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from ScaledaRunHandler

Inherited from AnyRef

Inherited from Any

Ungrouped