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.
- Alphabetic
- By Inheritance
- Job
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-  new Job(_asJava: AnyRef)
Value Members
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        !=(arg0: Any): Boolean
      
      
      - Definition Classes
- AnyRef → Any
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        ##(): Int
      
      
      - Definition Classes
- AnyRef → Any
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        ==(arg0: Any): Boolean
      
      
      - Definition Classes
- AnyRef → Any
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        asInstanceOf[T0]: T0
      
      
      - Definition Classes
- Any
 
-  def asJava: AnyRef
- 
      
      
      
        
      
    
      
        
        def
      
      
        clone(): AnyRef
      
      
      - Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        eq(arg0: AnyRef): Boolean
      
      
      - Definition Classes
- AnyRef
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        equals(arg0: Any): Boolean
      
      
      - Definition Classes
- AnyRef → Any
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        finalize(): Unit
      
      
      - Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        getClass(): Class[_]
      
      
      - Definition Classes
- AnyRef → Any
- Annotations
- @native()
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        hashCode(): Int
      
      
      - Definition Classes
- AnyRef → Any
- Annotations
- @native()
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        id(): Int
      
      
      - returns
- the job id 
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        interrupt(): Boolean
      
      
      Attempt to interrupt the job. Attempt to interrupt the job. * @return true if the job is actually interrupted 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        isInstanceOf[T0]: Boolean
      
      
      - Definition Classes
- Any
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        lastStopped(): Long
      
      
      - returns
- when the job was last stopped 
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        line(): String
      
      
      - returns
- the execution line of the job, i.e the shell command line that launched this job 
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        ne(arg0: AnyRef): Boolean
      
      
      - Definition Classes
- AnyRef
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        notify(): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @native()
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        notifyAll(): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @native()
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        process(): Process
      
      
      - returns
- the first process in the job 
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        resume(): Job
      
      
      Resume the job to foreground. 
- 
      
      
      
        
      
    
      
        
        def
      
      
        resume(foreground: Boolean): Job
      
      
      Resume the job. Resume the job. * @param foreground true when the job is resumed in foreground 
- 
      
      
      
        
      
    
      
        
        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 
- 
      
      
      
        
      
    
      
        
        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 
 
- 
      
      
      
        
      
    
      
        
        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 
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        status(): ExecStatus
      
      
      - returns
- the job exec status 
 
- 
      
      
      
        
      
    
      
        
        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 
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        suspend(): Job
      
      
      Resume the job. Resume the job. * @return this object 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        synchronized[T0](arg0: ⇒ T0): T0
      
      
      - Definition Classes
- AnyRef
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        terminate(): Unit
      
      
      Terminate the job. 
- 
      
      
      
        
      
    
      
        
        def
      
      
        toBackground(): Job
      
      
      Send the job to background. Send the job to background. * @return this object 
- 
      
      
      
        
      
    
      
        
        def
      
      
        toForeground(): Job
      
      
      Send the job to foreground. Send the job to foreground. * @return this object 
- 
      
      
      
        
      
    
      
        
        def
      
      
        toString(): String
      
      
      - Definition Classes
- AnyRef → Any
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @throws( ... )
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(arg0: Long, arg1: Int): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @throws( ... )
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(arg0: Long): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )