Class ApplicationUpdateInfo

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

public final class ApplicationUpdateInfo extends Object implements Cloneable, Serializable
Information about updates to an IceGrid application.
See Also:
  • Field Details

    • updateTime

      public long updateTime
      The update time.
    • updateUser

      public String updateUser
      The user who updated the application.
    • revision

      public int revision
      The application revision number.
    • descriptor

      public ApplicationUpdateDescriptor descriptor
      The update descriptor.
  • Constructor Details

    • ApplicationUpdateInfo

      public ApplicationUpdateInfo()
      Constructs a ApplicationUpdateInfo.
    • ApplicationUpdateInfo

      public ApplicationUpdateInfo(long updateTime, String updateUser, int revision, ApplicationUpdateDescriptor descriptor)
      Constructs a ApplicationUpdateInfo with values for all its fields.
      Parameters:
      updateTime - The update time.
      updateUser - The user who updated the application.
      revision - The application revision number.
      descriptor - The update descriptor.
  • Method Details

    • equals

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

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

      public ApplicationUpdateInfo 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, ApplicationUpdateInfo v)
      Marshals an ApplicationUpdateInfo into an output stream.
      Parameters:
      ostr - the output stream
      v - the ApplicationUpdateInfo to marshal; can be null
    • ice_read

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

      public static void ice_write(OutputStream ostr, int tag, Optional<ApplicationUpdateInfo> v)
      Marshals an optional ApplicationUpdateInfo 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, ApplicationUpdateInfo v)
      Marshals an optional ApplicationUpdateInfo into an output stream.
      Parameters:
      ostr - the output stream
      tag - the tag
      v - the value to marshal
    • ice_read

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