Class ApplicationUpdateDescriptor

java.lang.Object
com.zeroc.IceGrid.ApplicationUpdateDescriptor
All Implemented Interfaces:
Serializable, Cloneable

public final class ApplicationUpdateDescriptor extends Object implements Cloneable, Serializable
An application update descriptor to describe the updates to apply to a deployed application.
See Also:
  • Field Details

    • name

      public String name
      The name of the application to update.
    • description

      public BoxedString description
      The updated description (or null if the description wasn't updated).
    • distrib

      The updated distribution application descriptor.
    • variables

      public Map<String,String> variables
      The variables to update.
    • removeVariables

      public String[] removeVariables
      The variables to remove.
    • propertySets

      public Map<String,PropertySetDescriptor> propertySets
      The property sets to update.
    • removePropertySets

      public String[] removePropertySets
      The property sets to remove.
    • replicaGroups

      public List<ReplicaGroupDescriptor> replicaGroups
      The replica groups to update.
    • removeReplicaGroups

      public String[] removeReplicaGroups
      The replica groups to remove.
    • serverTemplates

      public Map<String,TemplateDescriptor> serverTemplates
      The server templates to update.
    • removeServerTemplates

      public String[] removeServerTemplates
      The IDs of the server template to remove.
    • serviceTemplates

      public Map<String,TemplateDescriptor> serviceTemplates
      The service templates to update.
    • removeServiceTemplates

      public String[] removeServiceTemplates
      The IDs of the service template to remove.
    • nodes

      public List<NodeUpdateDescriptor> nodes
      The application nodes to update.
    • removeNodes

      public String[] removeNodes
      The nodes to remove.
  • Constructor Details

    • ApplicationUpdateDescriptor

      public ApplicationUpdateDescriptor()
      Constructs a ApplicationUpdateDescriptor.
    • 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 a ApplicationUpdateDescriptor 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

      public boolean equals(Object rhs)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Overrides:
      clone in class Object
    • ice_writeMembers

      public void ice_writeMembers(OutputStream ostr)
      Marshals this object's fields into an output stream.
      Parameters:
      ostr - the output stream
    • ice_readMembers

      public void ice_readMembers(InputStream istr)
      Unmarshals and sets this object's fields from an input stream.
      Parameters:
      istr - the input stream
    • ice_write

      public static void ice_write(OutputStream ostr, ApplicationUpdateDescriptor v)
      Marshals an ApplicationUpdateDescriptor into an output stream.
      Parameters:
      ostr - the output stream
      v - the ApplicationUpdateDescriptor to marshal; can be null
    • ice_read

      public static ApplicationUpdateDescriptor ice_read(InputStream istr)
      Unmarshals an ApplicationUpdateDescriptor from an input stream.
      Parameters:
      istr - the input stream
      Returns:
      the unmarshaled ApplicationUpdateDescriptor
    • ice_write

      public static void ice_write(OutputStream ostr, int tag, Optional<ApplicationUpdateDescriptor> v)
      Marshals an optional ApplicationUpdateDescriptor into an output stream.
      Parameters:
      ostr - the output stream
      tag - the tag
      v - the value to marshal
    • ice_write

      public static void ice_write(OutputStream ostr, int tag, ApplicationUpdateDescriptor v)
      Marshals an optional ApplicationUpdateDescriptor into an output stream.
      Parameters:
      ostr - the output stream
      tag - the tag
      v - the value to marshal
    • ice_read

      public static Optional<ApplicationUpdateDescriptor> ice_read(InputStream istr, int tag)
      Unmarshals an optional ApplicationUpdateDescriptor from an input stream.
      Parameters:
      istr - the input stream
      tag - the tag
      Returns:
      the unmarshaled value