Class Rex::Job
In: lib/rex/job_container.rb
Parent: Object

This class is the concrete representation of an abstract job.

Methods

new   start   stop  

Attributes

jid  [R]  The job identifier as assigned by the job container.
name  [R]  The name of the job.

Public Class methods

Creates an individual job instance and initializes it with the supplied parameters.

Public Instance methods

Runs the job in the context of its own thread if the async flag is flase. Otherwise, the job is run inline.

Stops the job if it‘s currently running and calls its cleanup procedure

[Validate]