Class: WPAR::General
- Inherits:
-
Object
- Object
- WPAR::General
- Defined in:
- lib/wpars/general.rb
Instance Attribute Summary collapse
-
#application ⇒ Object
readonly
Returns the value of attribute application.
-
#architecture ⇒ Object
readonly
Returns the value of attribute architecture.
-
#auto ⇒ Object
Returns the value of attribute auto.
-
#checkpointable ⇒ Object
readonly
Returns the value of attribute checkpointable.
-
#directory ⇒ Object
readonly
Returns the value of attribute directory.
-
#hostname ⇒ Object
Returns the value of attribute hostname.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#ostype ⇒ Object
readonly
Returns the value of attribute ostype.
-
#owner ⇒ Object
readonly
Returns the value of attribute owner.
-
#privateusr ⇒ Object
readonly
Returns the value of attribute privateusr.
-
#rootvgwpar ⇒ Object
readonly
Returns the value of attribute rootvgwpar.
-
#routing ⇒ Object
readonly
Returns the value of attribute routing.
-
#script ⇒ Object
readonly
Returns the value of attribute script.
-
#state ⇒ Object
readonly
Returns the value of attribute state.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
-
#uuid ⇒ Object
readonly
Returns the value of attribute uuid.
-
#vipwpar ⇒ Object
readonly
Returns the value of attribute vipwpar.
-
#xwparipc ⇒ Object
readonly
Returns the value of attribute xwparipc.
Instance Method Summary collapse
-
#initialize(params) ⇒ General
constructor
A new instance of General.
Constructor Details
#initialize(params) ⇒ General
Returns a new instance of General.
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/wpars/general.rb', line 8 def initialize(params) @command = params[:command] @name = params[:name] @state = params[:state] @type = params[:type] @rootvgwpar = params[:rootvgwpar] @hostname = params[:hostname] @routing = params[:routing] @vipwpar = params[:vipwpar] @directory = params[:directory] @owner = params[:owner] @script = params[:script] @auto = params[:auto] || "no" @privateusr = params[:privateusr] @checkpointable = params[:checkpointable] @application = params[:application] @ostype = params[:ostype] @xwparipc = params[:xwparipc] @architecture = params[:architecture] @uuid = params[:uuid] end |
Instance Attribute Details
#application ⇒ Object (readonly)
Returns the value of attribute application.
5 6 7 |
# File 'lib/wpars/general.rb', line 5 def application @application end |
#architecture ⇒ Object (readonly)
Returns the value of attribute architecture.
5 6 7 |
# File 'lib/wpars/general.rb', line 5 def architecture @architecture end |
#auto ⇒ Object
Returns the value of attribute auto.
6 7 8 |
# File 'lib/wpars/general.rb', line 6 def auto @auto end |
#checkpointable ⇒ Object (readonly)
Returns the value of attribute checkpointable.
5 6 7 |
# File 'lib/wpars/general.rb', line 5 def checkpointable @checkpointable end |
#directory ⇒ Object (readonly)
Returns the value of attribute directory.
4 5 6 |
# File 'lib/wpars/general.rb', line 4 def directory @directory end |
#hostname ⇒ Object
Returns the value of attribute hostname.
6 7 8 |
# File 'lib/wpars/general.rb', line 6 def hostname @hostname end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
3 4 5 |
# File 'lib/wpars/general.rb', line 3 def name @name end |
#ostype ⇒ Object (readonly)
Returns the value of attribute ostype.
5 6 7 |
# File 'lib/wpars/general.rb', line 5 def ostype @ostype end |
#owner ⇒ Object (readonly)
Returns the value of attribute owner.
4 5 6 |
# File 'lib/wpars/general.rb', line 4 def owner @owner end |
#privateusr ⇒ Object (readonly)
Returns the value of attribute privateusr.
4 5 6 |
# File 'lib/wpars/general.rb', line 4 def privateusr @privateusr end |
#rootvgwpar ⇒ Object (readonly)
Returns the value of attribute rootvgwpar.
3 4 5 |
# File 'lib/wpars/general.rb', line 3 def rootvgwpar @rootvgwpar end |
#routing ⇒ Object (readonly)
Returns the value of attribute routing.
3 4 5 |
# File 'lib/wpars/general.rb', line 3 def routing @routing end |
#script ⇒ Object (readonly)
Returns the value of attribute script.
4 5 6 |
# File 'lib/wpars/general.rb', line 4 def script @script end |
#state ⇒ Object (readonly)
Returns the value of attribute state.
3 4 5 |
# File 'lib/wpars/general.rb', line 3 def state @state end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
3 4 5 |
# File 'lib/wpars/general.rb', line 3 def type @type end |
#uuid ⇒ Object (readonly)
Returns the value of attribute uuid.
3 4 5 |
# File 'lib/wpars/general.rb', line 3 def uuid @uuid end |
#vipwpar ⇒ Object (readonly)
Returns the value of attribute vipwpar.
4 5 6 |
# File 'lib/wpars/general.rb', line 4 def vipwpar @vipwpar end |
#xwparipc ⇒ Object (readonly)
Returns the value of attribute xwparipc.
5 6 7 |
# File 'lib/wpars/general.rb', line 5 def xwparipc @xwparipc end |