Class: IceGrid::ApplicationUpdateDescriptor
- Inherits:
-
Object
- Object
- IceGrid::ApplicationUpdateDescriptor
- Includes:
- Ice::Inspect_mixin
- 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.
Methods included from Ice::Inspect_mixin
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.
951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 |
# File 'lib/IceGrid/Descriptor.rb', line 951 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.
1013 1014 1015 |
# File 'lib/IceGrid/Descriptor.rb', line 1013 def description @description end |
#distrib ⇒ Object
Returns the value of attribute distrib.
1013 1014 1015 |
# File 'lib/IceGrid/Descriptor.rb', line 1013 def distrib @distrib end |
#name ⇒ Object
Returns the value of attribute name.
1013 1014 1015 |
# File 'lib/IceGrid/Descriptor.rb', line 1013 def name @name end |
#nodes ⇒ Object
Returns the value of attribute nodes.
1013 1014 1015 |
# File 'lib/IceGrid/Descriptor.rb', line 1013 def nodes @nodes end |
#propertySets ⇒ Object
Returns the value of attribute propertySets.
1013 1014 1015 |
# File 'lib/IceGrid/Descriptor.rb', line 1013 def propertySets @propertySets end |
#removeNodes ⇒ Object
Returns the value of attribute removeNodes.
1013 1014 1015 |
# File 'lib/IceGrid/Descriptor.rb', line 1013 def removeNodes @removeNodes end |
#removePropertySets ⇒ Object
Returns the value of attribute removePropertySets.
1013 1014 1015 |
# File 'lib/IceGrid/Descriptor.rb', line 1013 def removePropertySets @removePropertySets end |
#removeReplicaGroups ⇒ Object
Returns the value of attribute removeReplicaGroups.
1013 1014 1015 |
# File 'lib/IceGrid/Descriptor.rb', line 1013 def removeReplicaGroups @removeReplicaGroups end |
#removeServerTemplates ⇒ Object
Returns the value of attribute removeServerTemplates.
1013 1014 1015 |
# File 'lib/IceGrid/Descriptor.rb', line 1013 def removeServerTemplates @removeServerTemplates end |
#removeServiceTemplates ⇒ Object
Returns the value of attribute removeServiceTemplates.
1013 1014 1015 |
# File 'lib/IceGrid/Descriptor.rb', line 1013 def removeServiceTemplates @removeServiceTemplates end |
#removeVariables ⇒ Object
Returns the value of attribute removeVariables.
1013 1014 1015 |
# File 'lib/IceGrid/Descriptor.rb', line 1013 def removeVariables @removeVariables end |
#replicaGroups ⇒ Object
Returns the value of attribute replicaGroups.
1013 1014 1015 |
# File 'lib/IceGrid/Descriptor.rb', line 1013 def replicaGroups @replicaGroups end |
#serverTemplates ⇒ Object
Returns the value of attribute serverTemplates.
1013 1014 1015 |
# File 'lib/IceGrid/Descriptor.rb', line 1013 def serverTemplates @serverTemplates end |
#serviceTemplates ⇒ Object
Returns the value of attribute serviceTemplates.
1013 1014 1015 |
# File 'lib/IceGrid/Descriptor.rb', line 1013 def serviceTemplates @serviceTemplates end |
#variables ⇒ Object
Returns the value of attribute variables.
1013 1014 1015 |
# File 'lib/IceGrid/Descriptor.rb', line 1013 def variables @variables end |
Instance Method Details
#==(other) ⇒ Object
989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 |
# File 'lib/IceGrid/Descriptor.rb', line 989 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
1009 1010 1011 |
# File 'lib/IceGrid/Descriptor.rb', line 1009 def eql?(other) return other.class == self.class && other == self end |
#hash ⇒ Object
969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 |
# File 'lib/IceGrid/Descriptor.rb', line 969 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 |