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.
- 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 aApplicationUpdateDescriptor
with values for all its fields. -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
int
hashCode()
static ApplicationUpdateDescriptor
ice_read
(InputStream istr) Unmarshals anApplicationUpdateDescriptor
from an input stream.static Optional<ApplicationUpdateDescriptor>
ice_read
(InputStream istr, int tag) Unmarshals an optionalApplicationUpdateDescriptor
from an input stream.void
ice_readMembers
(InputStream istr) Unmarshals and sets this object's fields from an input stream.static void
ice_write
(OutputStream ostr, int tag, ApplicationUpdateDescriptor v) Marshals an optionalApplicationUpdateDescriptor
into an output stream.static void
ice_write
(OutputStream ostr, int tag, Optional<ApplicationUpdateDescriptor> v) Marshals an optionalApplicationUpdateDescriptor
into an output stream.static void
Marshals anApplicationUpdateDescriptor
into an output stream.void
ice_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 aApplicationUpdateDescriptor
with 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 anApplicationUpdateDescriptor
into an output stream.- Parameters:
ostr
- the output streamv
- theApplicationUpdateDescriptor
to marshal; can be null
-
ice_read
Unmarshals anApplicationUpdateDescriptor
from an input stream.- Parameters:
istr
- the input stream- Returns:
- the unmarshaled
ApplicationUpdateDescriptor
-
ice_write
Marshals an optionalApplicationUpdateDescriptor
into an output stream.- Parameters:
ostr
- the output streamtag
- the tagv
- the value to marshal
-
ice_write
Marshals an optionalApplicationUpdateDescriptor
into an output stream.- Parameters:
ostr
- the output streamtag
- the tagv
- the value to marshal
-
ice_read
Unmarshals an optionalApplicationUpdateDescriptor
from an input stream.- Parameters:
istr
- the input streamtag
- the tag- Returns:
- the unmarshaled value
-