Class: Skytap::Commands::DeadDownloader
- Inherits:
-
Object
- Object
- Skytap::Commands::DeadDownloader
- Defined in:
- lib/skytap/plugins/vm_download.rb
Instance Method Summary collapse
- #alive? ⇒ Boolean
- #finished? ⇒ Boolean
-
#initialize(vm_id, exception) ⇒ DeadDownloader
constructor
A new instance of DeadDownloader.
- #status_line ⇒ Object
- #success? ⇒ Boolean
Constructor Details
#initialize(vm_id, exception) ⇒ DeadDownloader
Returns a new instance of DeadDownloader.
218 219 220 221 |
# File 'lib/skytap/plugins/vm_download.rb', line 218 def initialize(vm_id, exception) @vm_id = vm_id @exception = exception end |
Instance Method Details
#alive? ⇒ Boolean
227 228 229 |
# File 'lib/skytap/plugins/vm_download.rb', line 227 def alive? false end |
#finished? ⇒ Boolean
223 224 225 |
# File 'lib/skytap/plugins/vm_download.rb', line 223 def finished? true end |
#status_line ⇒ Object
235 236 237 |
# File 'lib/skytap/plugins/vm_download.rb', line 235 def status_line "VM #{@vm_id}: Error: #{@exception}" end |
#success? ⇒ Boolean
231 232 233 |
# File 'lib/skytap/plugins/vm_download.rb', line 231 def success? false end |