class Hpe3parSdk::TaskStatus
This class enumerates the statuses that a Task
can have.
Constants
- ACTIVE
- CANCELLED
- DONE
- FAILED
Public Class Methods
get_string(val)
click to toggle source
# File lib/Hpe3parSdk/constants.rb, line 304 def self.get_string(val) case val when 1 return 'DONE' when 2 return 'ACTIVE' when 3 return 'CANCELLED' when 4 return 'FAILED' else raise 'Unknown value' end end