Class: VagrantPlugins::Vrealize::Action::WaitForState
- Inherits:
-
Object
- Object
- VagrantPlugins::Vrealize::Action::WaitForState
- Defined in:
- lib/vagrant-vrealize/action/wait_for_state.rb
Overview
This action will wait for a machine to reach a specific state or quit by timeout
Instance Method Summary collapse
- #call(env) ⇒ Object
-
#initialize(app, env, state, timeout) ⇒ WaitForState
constructor
env will be false in case of timeout.
Constructor Details
#initialize(app, env, state, timeout) ⇒ WaitForState
env will be false in case of timeout.
12 13 14 15 16 17 |
# File 'lib/vagrant-vrealize/action/wait_for_state.rb', line 12 def initialize(app, env, state, timeout) @app = app @logger = Log4r::Logger.new("vagrant_vrealize::action::wait_for_state") @state = state @timeout = timeout end |
Instance Method Details
#call(env) ⇒ Object
19 20 21 |
# File 'lib/vagrant-vrealize/action/wait_for_state.rb', line 19 def call(env) fail NotImplementedError end |