java.lang.Object
com.zeroc.IceGrid.ApplicationUpdateDescriptor
- All Implemented Interfaces:
Serializable,Cloneable
An application update descriptor to describe the updates to apply to a deployed application.
Remarks:
The Slice compiler generated this class from Slice struct ::IceGrid::ApplicationUpdateDescriptor.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe updated description (or null if the description wasn't updated).The updated distribution application descriptor.The name of the application to update.The application nodes to update.The property sets to update.String[]The nodes to remove.String[]The property sets to remove.String[]The replica groups to remove.String[]The IDs of the server template to remove.String[]The IDs of the service template to remove.String[]The variables to remove.The replica groups to update.The server templates to update.The service templates to update.The variables to update. -
Constructor Summary
ConstructorsConstructorDescriptionConstructs aApplicationUpdateDescriptor.ApplicationUpdateDescriptor(String name, BoxedString description, BoxedDistributionDescriptor distrib, Map<String, String> variables, String[] removeVariables, Map<String, PropertySetDescriptor> propertySets, String[] removePropertySets, List<ReplicaGroupDescriptor> replicaGroups, String[] removeReplicaGroups, Map<String, TemplateDescriptor> serverTemplates, String[] removeServerTemplates, Map<String, TemplateDescriptor> serviceTemplates, String[] removeServiceTemplates, List<NodeUpdateDescriptor> nodes, String[] removeNodes) Constructs aApplicationUpdateDescriptorwith values for all its fields. -
Method Summary
Modifier and TypeMethodDescriptionclone()booleaninthashCode()static ApplicationUpdateDescriptorice_read(InputStream istr) Unmarshals anApplicationUpdateDescriptorfrom an input stream.static Optional<ApplicationUpdateDescriptor>ice_read(InputStream istr, int tag) Unmarshals an optionalApplicationUpdateDescriptorfrom an input stream.voidice_readMembers(InputStream istr) Unmarshals and sets this object's fields from an input stream.static voidice_write(OutputStream ostr, int tag, ApplicationUpdateDescriptor v) Marshals an optionalApplicationUpdateDescriptorinto an output stream.static voidice_write(OutputStream ostr, int tag, Optional<ApplicationUpdateDescriptor> v) Marshals an optionalApplicationUpdateDescriptorinto an output stream.static voidMarshals anApplicationUpdateDescriptorinto an output stream.voidice_writeMembers(OutputStream ostr) Marshals this object's fields into an output stream.
-
Field Details
-
name
The name of the application to update. -
description
The updated description (or null if the description wasn't updated). -
distrib
The updated distribution application descriptor. -
variables
The variables to update. -
removeVariables
The variables to remove. -
propertySets
The property sets to update. -
removePropertySets
The property sets to remove. -
replicaGroups
The replica groups to update. -
removeReplicaGroups
The replica groups to remove. -
serverTemplates
The server templates to update. -
removeServerTemplates
The IDs of the server template to remove. -
serviceTemplates
The service templates to update. -
removeServiceTemplates
The IDs of the service template to remove. -
nodes
The application nodes to update. -
removeNodes
The nodes to remove.
-
-
Constructor Details
-
ApplicationUpdateDescriptor
public ApplicationUpdateDescriptor()Constructs aApplicationUpdateDescriptor. -
ApplicationUpdateDescriptor
public ApplicationUpdateDescriptor(String name, BoxedString description, BoxedDistributionDescriptor distrib, Map<String, String> variables, String[] removeVariables, Map<String, PropertySetDescriptor> propertySets, String[] removePropertySets, List<ReplicaGroupDescriptor> replicaGroups, String[] removeReplicaGroups, Map<String, TemplateDescriptor> serverTemplates, String[] removeServerTemplates, Map<String, TemplateDescriptor> serviceTemplates, String[] removeServiceTemplates, List<NodeUpdateDescriptor> nodes, String[] removeNodes) Constructs aApplicationUpdateDescriptorwith values for all its fields.- Parameters:
name- The name of the application to update.description- The updated description (or null if the description wasn't updated).distrib- The updated distribution application descriptor.variables- The variables to update.removeVariables- The variables to remove.propertySets- The property sets to update.removePropertySets- The property sets to remove.replicaGroups- The replica groups to update.removeReplicaGroups- The replica groups to remove.serverTemplates- The server templates to update.removeServerTemplates- The IDs of the server template to remove.serviceTemplates- The service templates to update.removeServiceTemplates- The IDs of the service template to remove.nodes- The application nodes to update.removeNodes- The nodes to remove.
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
clone
-
ice_writeMembers
Marshals this object's fields into an output stream.- Parameters:
ostr- the output stream
-
ice_readMembers
Unmarshals and sets this object's fields from an input stream.- Parameters:
istr- the input stream
-
ice_write
Marshals anApplicationUpdateDescriptorinto an output stream.- Parameters:
ostr- the output streamv- theApplicationUpdateDescriptorto marshal
-
ice_read
Unmarshals anApplicationUpdateDescriptorfrom an input stream.- Parameters:
istr- the input stream- Returns:
- the unmarshaled
ApplicationUpdateDescriptor
-
ice_write
Marshals an optionalApplicationUpdateDescriptorinto an output stream.- Parameters:
ostr- the output streamtag- the tagv- the value to marshal
-
ice_write
Marshals an optionalApplicationUpdateDescriptorinto an output stream.- Parameters:
ostr- the output streamtag- the tagv- the value to marshal
-
ice_read
Unmarshals an optionalApplicationUpdateDescriptorfrom an input stream.- Parameters:
istr- the input streamtag- the tag- Returns:
- the unmarshaled value
-