Class: DTK::Client::TaskStatus::StreamMode
- Inherits:
-
DTK::Client::TaskStatus
- Object
- BaseCommandHelper
- DTK::Client::TaskStatus
- DTK::Client::TaskStatus::StreamMode
- Defined in:
- lib/task_status/stream_mode.rb,
lib/task_status/stream_mode/element.rb,
lib/task_status/stream_mode/element/stage.rb,
lib/task_status/stream_mode/element/task_end.rb,
lib/task_status/stream_mode/element/no_results.rb,
lib/task_status/stream_mode/element/task_start.rb
Defined Under Namespace
Classes: Element
Constant Summary collapse
- WaitWhenNoResults =
in seconds
5
Instance Method Summary collapse
- #get_and_render(opts = {}) ⇒ Object
-
#post_call(*args) ⇒ Object
making this public for this class and its children.
Methods inherited from DTK::Client::TaskStatus
Methods inherited from BaseCommandHelper
#initialize, #print_external_dependencies
Constructor Details
This class inherits a constructor from DTK::Client::TaskStatus
Instance Method Details
#get_and_render(opts = {}) ⇒ Object
24 25 26 27 28 |
# File 'lib/task_status/stream_mode.rb', line 24 def get_and_render(opts = {}) Element.get_and_render_task_start(self, opts) Element.get_and_render_stages(self, {:wait => WaitWhenNoResults}.merge(opts)) Response::Ok.new() end |
#post_call(*args) ⇒ Object
making this public for this class and its children
32 33 34 |
# File 'lib/task_status/stream_mode.rb', line 32 def post_call(*args) super end |