Class ZduStatus


  • public class ZduStatus
    extends Object
    POJO for returning ZDU state
    Since:
    7.9
    • Method Detail

      • enabled

        public static ZduStatus enabled​(String originalClusterVersion)
      • disabled

        public static ZduStatus disabled()
      • getOriginalClusterVersion

        public Optional<String> getOriginalClusterVersion()
        If we are not in upgrade mode this will be empty()
        Returns:
        the version number of the cluster at the time we entered upgrade mode, or empty() if we are not in upgrade mode.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object