Class: IceGrid::ApplicationUpdateDescriptor
- Inherits:
-
Object
- Object
- IceGrid::ApplicationUpdateDescriptor
- Defined in:
- lib/IceGrid/Descriptor.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#distrib ⇒ Object
Returns the value of attribute distrib.
-
#name ⇒ Object
Returns the value of attribute name.
-
#nodes ⇒ Object
Returns the value of attribute nodes.
-
#propertySets ⇒ Object
Returns the value of attribute propertySets.
-
#removeNodes ⇒ Object
Returns the value of attribute removeNodes.
-
#removePropertySets ⇒ Object
Returns the value of attribute removePropertySets.
-
#removeReplicaGroups ⇒ Object
Returns the value of attribute removeReplicaGroups.
-
#removeServerTemplates ⇒ Object
Returns the value of attribute removeServerTemplates.
-
#removeServiceTemplates ⇒ Object
Returns the value of attribute removeServiceTemplates.
-
#removeVariables ⇒ Object
Returns the value of attribute removeVariables.
-
#replicaGroups ⇒ Object
Returns the value of attribute replicaGroups.
-
#serverTemplates ⇒ Object
Returns the value of attribute serverTemplates.
-
#serviceTemplates ⇒ Object
Returns the value of attribute serviceTemplates.
-
#variables ⇒ Object
Returns the value of attribute variables.
Instance Method Summary collapse
- #==(other) ⇒ Object
- #eql?(other) ⇒ Boolean
- #hash ⇒ Object
-
#initialize(name = '', description = nil, distrib = nil, variables = nil, removeVariables = nil, propertySets = nil, removePropertySets = nil, replicaGroups = nil, removeReplicaGroups = nil, serverTemplates = nil, removeServerTemplates = nil, serviceTemplates = nil, removeServiceTemplates = nil, nodes = nil, removeNodes = nil) ⇒ ApplicationUpdateDescriptor
constructor
A new instance of ApplicationUpdateDescriptor.
- #inspect ⇒ Object
Constructor Details
#initialize(name = '', description = nil, distrib = nil, variables = nil, removeVariables = nil, propertySets = nil, removePropertySets = nil, replicaGroups = nil, removeReplicaGroups = nil, serverTemplates = nil, removeServerTemplates = nil, serviceTemplates = nil, removeServiceTemplates = nil, nodes = nil, removeNodes = nil) ⇒ ApplicationUpdateDescriptor
Returns a new instance of ApplicationUpdateDescriptor.
1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 |
# File 'lib/IceGrid/Descriptor.rb', line 1419 def initialize(name='', description=nil, distrib=nil, variables=nil, removeVariables=nil, propertySets=nil, removePropertySets=nil, replicaGroups=nil, removeReplicaGroups=nil, serverTemplates=nil, removeServerTemplates=nil, serviceTemplates=nil, removeServiceTemplates=nil, nodes=nil, removeNodes=nil) @name = name @description = description @distrib = distrib @variables = variables @removeVariables = removeVariables @propertySets = propertySets @removePropertySets = removePropertySets @replicaGroups = replicaGroups @removeReplicaGroups = removeReplicaGroups @serverTemplates = serverTemplates @removeServerTemplates = removeServerTemplates @serviceTemplates = serviceTemplates @removeServiceTemplates = removeServiceTemplates @nodes = nodes @removeNodes = removeNodes end |
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description.
1485 1486 1487 |
# File 'lib/IceGrid/Descriptor.rb', line 1485 def description @description end |
#distrib ⇒ Object
Returns the value of attribute distrib.
1485 1486 1487 |
# File 'lib/IceGrid/Descriptor.rb', line 1485 def distrib @distrib end |
#name ⇒ Object
Returns the value of attribute name.
1485 1486 1487 |
# File 'lib/IceGrid/Descriptor.rb', line 1485 def name @name end |
#nodes ⇒ Object
Returns the value of attribute nodes.
1485 1486 1487 |
# File 'lib/IceGrid/Descriptor.rb', line 1485 def nodes @nodes end |
#propertySets ⇒ Object
Returns the value of attribute propertySets.
1485 1486 1487 |
# File 'lib/IceGrid/Descriptor.rb', line 1485 def propertySets @propertySets end |
#removeNodes ⇒ Object
Returns the value of attribute removeNodes.
1485 1486 1487 |
# File 'lib/IceGrid/Descriptor.rb', line 1485 def removeNodes @removeNodes end |
#removePropertySets ⇒ Object
Returns the value of attribute removePropertySets.
1485 1486 1487 |
# File 'lib/IceGrid/Descriptor.rb', line 1485 def removePropertySets @removePropertySets end |
#removeReplicaGroups ⇒ Object
Returns the value of attribute removeReplicaGroups.
1485 1486 1487 |
# File 'lib/IceGrid/Descriptor.rb', line 1485 def removeReplicaGroups @removeReplicaGroups end |
#removeServerTemplates ⇒ Object
Returns the value of attribute removeServerTemplates.
1485 1486 1487 |
# File 'lib/IceGrid/Descriptor.rb', line 1485 def removeServerTemplates @removeServerTemplates end |
#removeServiceTemplates ⇒ Object
Returns the value of attribute removeServiceTemplates.
1485 1486 1487 |
# File 'lib/IceGrid/Descriptor.rb', line 1485 def removeServiceTemplates @removeServiceTemplates end |
#removeVariables ⇒ Object
Returns the value of attribute removeVariables.
1485 1486 1487 |
# File 'lib/IceGrid/Descriptor.rb', line 1485 def removeVariables @removeVariables end |
#replicaGroups ⇒ Object
Returns the value of attribute replicaGroups.
1485 1486 1487 |
# File 'lib/IceGrid/Descriptor.rb', line 1485 def replicaGroups @replicaGroups end |
#serverTemplates ⇒ Object
Returns the value of attribute serverTemplates.
1485 1486 1487 |
# File 'lib/IceGrid/Descriptor.rb', line 1485 def serverTemplates @serverTemplates end |
#serviceTemplates ⇒ Object
Returns the value of attribute serviceTemplates.
1485 1486 1487 |
# File 'lib/IceGrid/Descriptor.rb', line 1485 def serviceTemplates @serviceTemplates end |
#variables ⇒ Object
Returns the value of attribute variables.
1485 1486 1487 |
# File 'lib/IceGrid/Descriptor.rb', line 1485 def variables @variables end |
Instance Method Details
#==(other) ⇒ Object
1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 |
# File 'lib/IceGrid/Descriptor.rb', line 1457 def ==(other) return false if !other.is_a? ::IceGrid::ApplicationUpdateDescriptor or @name != other.name or @description != other.description or @distrib != other.distrib or @variables != other.variables or @removeVariables != other.removeVariables or @propertySets != other.propertySets or @removePropertySets != other.removePropertySets or @replicaGroups != other.replicaGroups or @removeReplicaGroups != other.removeReplicaGroups or @serverTemplates != other.serverTemplates or @removeServerTemplates != other.removeServerTemplates or @serviceTemplates != other.serviceTemplates or @removeServiceTemplates != other.removeServiceTemplates or @nodes != other.nodes or @removeNodes != other.removeNodes true end |
#eql?(other) ⇒ Boolean
1477 1478 1479 |
# File 'lib/IceGrid/Descriptor.rb', line 1477 def eql?(other) return other.class == self.class && other == self end |
#hash ⇒ Object
1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 |
# File 'lib/IceGrid/Descriptor.rb', line 1437 def hash _h = 0 _h = 5 * _h + @name.hash _h = 5 * _h + @description.hash _h = 5 * _h + @distrib.hash _h = 5 * _h + @variables.hash _h = 5 * _h + @removeVariables.hash _h = 5 * _h + @propertySets.hash _h = 5 * _h + @removePropertySets.hash _h = 5 * _h + @replicaGroups.hash _h = 5 * _h + @removeReplicaGroups.hash _h = 5 * _h + @serverTemplates.hash _h = 5 * _h + @removeServerTemplates.hash _h = 5 * _h + @serviceTemplates.hash _h = 5 * _h + @removeServiceTemplates.hash _h = 5 * _h + @nodes.hash _h = 5 * _h + @removeNodes.hash _h % 0x7fffffff end |
#inspect ⇒ Object
1481 1482 1483 |
# File 'lib/IceGrid/Descriptor.rb', line 1481 def inspect ::Ice::__stringify(self, T_ApplicationUpdateDescriptor) end |