vertx-lang-scala-docs_2.12 3.9.1 API < Back
 

# Packages

-  package root
  Definition Classes
    root
-  package io
  Definition Classes
    root
-  package vertx
  Definition Classes
    io
-  package scala
  Definition Classes
    vertx
-  package ext
  Definition Classes
    scala
-  package shell
  Definition Classes
    ext
-  package system
  Definition Classes
    shell
- Job
- JobController
- Process

c

io.vertx.scala.ext.shell.system

# Job 

###
Companion object Job

#### class Job extends AnyRef

A job executed in a io.vertx.scala.ext.shell.system.JobController, grouping one or several process.

The job life cycle can be controlled with the io.vertx.scala.ext.shell.system.Job#run, io.vertx.scala.ext.shell.system.Job#resume and io.vertx.scala.ext.shell.system.Job#suspend and io.vertx.scala.ext.shell.system.Job#interrupt methods.

Linear Supertypes
AnyRef, Any
 
Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. Job
2. AnyRef
3. Any

1. Hide All
2. Show All

Visibility

1. Public
2. All

### Instance Constructors

1.  new Job(_asJava: AnyRef)

### 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 asJava: AnyRef
6.  def clone(): AnyRef
   Attributes
     protected[java.lang]
   Definition Classes
     AnyRef
   Annotations
     @native() @throws( ... )
7.  final def eq(arg0: AnyRef): Boolean
   Definition Classes
     AnyRef
8.  def equals(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
9.  def finalize(): Unit
   Attributes
     protected[java.lang]
   Definition Classes
     AnyRef
   Annotations
     @throws( classOf[java.lang.Throwable] )
10.  final def getClass(): Class[_]
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
11.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
12.  def id(): Int

    returns

      the job id

13.  def interrupt(): Boolean

    Attempt to interrupt the job.

    Attempt to interrupt the job. * @return true if the job is actually interrupted

14.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
15.  def lastStopped(): Long

    returns

      when the job was last stopped

16.  def line(): String

    returns

      the execution line of the job, i.e the shell command line that launched this job

17.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
18.  final def notify(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
19.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
20.  def process(): Process

    returns

      the first process in the job

21.  def resume(): Job

    Resume the job to foreground.

22.  def resume(foreground: Boolean): Job

    Resume the job.

    Resume the job. * @param foreground true when the job is resumed in foreground

23.  def run(): Job

    Run the job, before running the job a must be set.

    Run the job, before running the job a must be set. * @return this object

24.  def setSession(session: Session): Job

    Set a session on the job.

    Set a session on the job. * @param session the session to use

    returns

      this object

25.  def setTty(tty: Tty): Job

    Set a tty on the job.

    Set a tty on the job. * @param tty the tty to use

    returns

      this object

26.  def status(): ExecStatus

    returns

      the job exec status

27.  def statusUpdateHandler(handler: Handler[ExecStatus]): Job

    Set an handler called when the job terminates.

    Set an handler called when the job terminates. * @param handler the terminate handler

    returns

      this object

28.  def suspend(): Job

    Resume the job.

    Resume the job. * @return this object

29.  final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
      AnyRef
30.  def terminate(): Unit

    Terminate the job.

31.  def toBackground(): Job

    Send the job to background.

    Send the job to background. * @return this object

32.  def toForeground(): Job

    Send the job to foreground.

    Send the job to foreground. * @return this object

33.  def toString(): String
    Definition Classes
      AnyRef → Any
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
      @native() @throws( ... )

### Inherited from AnyRef

### Inherited from Any

### Ungrouped