Class: WPAR::General

Inherits:
Object
  • Object
show all
Defined in:
lib/wpars/general.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#applicationObject (readonly)

Returns the value of attribute application.



5
6
7
# File 'lib/wpars/general.rb', line 5

def application
  @application
end

#architectureObject (readonly)

Returns the value of attribute architecture.



5
6
7
# File 'lib/wpars/general.rb', line 5

def architecture
  @architecture
end

#autoObject

Returns the value of attribute auto.



6
7
8
# File 'lib/wpars/general.rb', line 6

def auto
  @auto
end

#checkpointableObject (readonly)

Returns the value of attribute checkpointable.



5
6
7
# File 'lib/wpars/general.rb', line 5

def checkpointable
  @checkpointable
end

#directoryObject (readonly)

Returns the value of attribute directory.



4
5
6
# File 'lib/wpars/general.rb', line 4

def directory
  @directory
end

#hostnameObject

Returns the value of attribute hostname.



6
7
8
# File 'lib/wpars/general.rb', line 6

def hostname
  @hostname
end

#nameObject (readonly)

Returns the value of attribute name.



3
4
5
# File 'lib/wpars/general.rb', line 3

def name
  @name
end

#ostypeObject (readonly)

Returns the value of attribute ostype.



5
6
7
# File 'lib/wpars/general.rb', line 5

def ostype
  @ostype
end

#ownerObject (readonly)

Returns the value of attribute owner.



4
5
6
# File 'lib/wpars/general.rb', line 4

def owner
  @owner
end

#privateusrObject (readonly)

Returns the value of attribute privateusr.



4
5
6
# File 'lib/wpars/general.rb', line 4

def privateusr
  @privateusr
end

#rootvgwparObject (readonly)

Returns the value of attribute rootvgwpar.



3
4
5
# File 'lib/wpars/general.rb', line 3

def rootvgwpar
  @rootvgwpar
end

#routingObject (readonly)

Returns the value of attribute routing.



3
4
5
# File 'lib/wpars/general.rb', line 3

def routing
  @routing
end

#scriptObject (readonly)

Returns the value of attribute script.



4
5
6
# File 'lib/wpars/general.rb', line 4

def script
  @script
end

#stateObject (readonly)

Returns the value of attribute state.



3
4
5
# File 'lib/wpars/general.rb', line 3

def state
  @state
end

#typeObject (readonly)

Returns the value of attribute type.



3
4
5
# File 'lib/wpars/general.rb', line 3

def type
  @type
end

#uuidObject (readonly)

Returns the value of attribute uuid.



3
4
5
# File 'lib/wpars/general.rb', line 3

def uuid
  @uuid
end

#vipwparObject (readonly)

Returns the value of attribute vipwpar.



4
5
6
# File 'lib/wpars/general.rb', line 4

def vipwpar
  @vipwpar
end

#xwparipcObject (readonly)

Returns the value of attribute xwparipc.



5
6
7
# File 'lib/wpars/general.rb', line 5

def xwparipc
  @xwparipc
end