Class: IceGrid::NodeUpdateDescriptor
- Inherits:
-
Object
- Object
- IceGrid::NodeUpdateDescriptor
- Defined in:
- lib/IceGrid/Descriptor.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#loadFactor ⇒ Object
Returns the value of attribute loadFactor.
-
#name ⇒ Object
Returns the value of attribute name.
-
#propertySets ⇒ Object
Returns the value of attribute propertySets.
-
#removePropertySets ⇒ Object
Returns the value of attribute removePropertySets.
-
#removeServers ⇒ Object
Returns the value of attribute removeServers.
-
#removeVariables ⇒ Object
Returns the value of attribute removeVariables.
-
#serverInstances ⇒ Object
Returns the value of attribute serverInstances.
-
#servers ⇒ Object
Returns the value of attribute servers.
-
#variables ⇒ Object
Returns the value of attribute variables.
Instance Method Summary collapse
- #==(other) ⇒ Object
- #eql?(other) ⇒ Boolean
- #hash ⇒ Object
-
#initialize(name = '', description = nil, variables = nil, removeVariables = nil, propertySets = nil, removePropertySets = nil, serverInstances = nil, servers = nil, removeServers = nil, loadFactor = nil) ⇒ NodeUpdateDescriptor
constructor
A new instance of NodeUpdateDescriptor.
- #inspect ⇒ Object
Constructor Details
#initialize(name = '', description = nil, variables = nil, removeVariables = nil, propertySets = nil, removePropertySets = nil, serverInstances = nil, servers = nil, removeServers = nil, loadFactor = nil) ⇒ NodeUpdateDescriptor
Returns a new instance of NodeUpdateDescriptor.
1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 |
# File 'lib/IceGrid/Descriptor.rb', line 1287 def initialize(name='', description=nil, variables=nil, removeVariables=nil, propertySets=nil, removePropertySets=nil, serverInstances=nil, servers=nil, removeServers=nil, loadFactor=nil) @name = name @description = description @variables = variables @removeVariables = removeVariables @propertySets = propertySets @removePropertySets = removePropertySets @serverInstances = serverInstances @servers = servers @removeServers = removeServers @loadFactor = loadFactor end |
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description.
1338 1339 1340 |
# File 'lib/IceGrid/Descriptor.rb', line 1338 def description @description end |
#loadFactor ⇒ Object
Returns the value of attribute loadFactor.
1338 1339 1340 |
# File 'lib/IceGrid/Descriptor.rb', line 1338 def loadFactor @loadFactor end |
#name ⇒ Object
Returns the value of attribute name.
1338 1339 1340 |
# File 'lib/IceGrid/Descriptor.rb', line 1338 def name @name end |
#propertySets ⇒ Object
Returns the value of attribute propertySets.
1338 1339 1340 |
# File 'lib/IceGrid/Descriptor.rb', line 1338 def propertySets @propertySets end |
#removePropertySets ⇒ Object
Returns the value of attribute removePropertySets.
1338 1339 1340 |
# File 'lib/IceGrid/Descriptor.rb', line 1338 def removePropertySets @removePropertySets end |
#removeServers ⇒ Object
Returns the value of attribute removeServers.
1338 1339 1340 |
# File 'lib/IceGrid/Descriptor.rb', line 1338 def removeServers @removeServers end |
#removeVariables ⇒ Object
Returns the value of attribute removeVariables.
1338 1339 1340 |
# File 'lib/IceGrid/Descriptor.rb', line 1338 def removeVariables @removeVariables end |
#serverInstances ⇒ Object
Returns the value of attribute serverInstances.
1338 1339 1340 |
# File 'lib/IceGrid/Descriptor.rb', line 1338 def serverInstances @serverInstances end |
#servers ⇒ Object
Returns the value of attribute servers.
1338 1339 1340 |
# File 'lib/IceGrid/Descriptor.rb', line 1338 def servers @servers end |
#variables ⇒ Object
Returns the value of attribute variables.
1338 1339 1340 |
# File 'lib/IceGrid/Descriptor.rb', line 1338 def variables @variables end |
Instance Method Details
#==(other) ⇒ Object
1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 |
# File 'lib/IceGrid/Descriptor.rb', line 1315 def ==(other) return false if !other.is_a? ::IceGrid::NodeUpdateDescriptor or @name != other.name or @description != other.description or @variables != other.variables or @removeVariables != other.removeVariables or @propertySets != other.propertySets or @removePropertySets != other.removePropertySets or @serverInstances != other.serverInstances or @servers != other.servers or @removeServers != other.removeServers or @loadFactor != other.loadFactor true end |
#eql?(other) ⇒ Boolean
1330 1331 1332 |
# File 'lib/IceGrid/Descriptor.rb', line 1330 def eql?(other) return other.class == self.class && other == self end |
#hash ⇒ Object
1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 |
# File 'lib/IceGrid/Descriptor.rb', line 1300 def hash _h = 0 _h = 5 * _h + @name.hash _h = 5 * _h + @description.hash _h = 5 * _h + @variables.hash _h = 5 * _h + @removeVariables.hash _h = 5 * _h + @propertySets.hash _h = 5 * _h + @removePropertySets.hash _h = 5 * _h + @serverInstances.hash _h = 5 * _h + @servers.hash _h = 5 * _h + @removeServers.hash _h = 5 * _h + @loadFactor.hash _h % 0x7fffffff end |
#inspect ⇒ Object
1334 1335 1336 |
# File 'lib/IceGrid/Descriptor.rb', line 1334 def inspect ::Ice::__stringify(self, T_NodeUpdateDescriptor) end |