Class: Roby::App::Cucumber::Controller::BackgroundJob

Inherits:
Struct
  • Object
show all
Defined in:
lib/roby/app/cucumber/controller.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#action_monitorObject

Returns the value of attribute action_monitor

Returns:

  • (Object)

    the current value of action_monitor



304
305
306
# File 'lib/roby/app/cucumber/controller.rb', line 304

def action_monitor
  @action_monitor
end

#descriptionObject

Returns the value of attribute description

Returns:

  • (Object)

    the current value of description



304
305
306
# File 'lib/roby/app/cucumber/controller.rb', line 304

def description
  @description
end

#monitoringObject

Returns the value of attribute monitoring

Returns:

  • (Object)

    the current value of monitoring



304
305
306
# File 'lib/roby/app/cucumber/controller.rb', line 304

def monitoring
  @monitoring
end

Instance Method Details

#job_idObject



305
306
307
# File 'lib/roby/app/cucumber/controller.rb', line 305

def job_id
    action_monitor.job_id
end

#monitoring?Boolean

Returns:

  • (Boolean)


317
318
319
# File 'lib/roby/app/cucumber/controller.rb', line 317

def monitoring?
    monitoring
end

#success?Boolean

Returns:

  • (Boolean)


309
310
311
# File 'lib/roby/app/cucumber/controller.rb', line 309

def success?
    action_monitor.success?
end

#terminated?Boolean

Returns:

  • (Boolean)


313
314
315
# File 'lib/roby/app/cucumber/controller.rb', line 313

def terminated?
    action_monitor.terminated?
end