Enum SyncClientResult

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<SyncClientResult>

    public enum SyncClientResult
    extends java.lang.Enum<SyncClientResult>
    • Enum Constant Detail

      • SYNC_CLIENT_ERROR_BAD_PARAMS

        public static final SyncClientResult SYNC_CLIENT_ERROR_BAD_PARAMS
      • SYNC_CLIENT_ERROR_INTERNAL_ERROR

        public static final SyncClientResult SYNC_CLIENT_ERROR_INTERNAL_ERROR
      • SYNC_CLIENT_ERROR_DB_ERROR

        public static final SyncClientResult SYNC_CLIENT_ERROR_DB_ERROR
      • SYNC_CLIENT_ERROR_KEY_NOT_FOUND

        public static final SyncClientResult SYNC_CLIENT_ERROR_KEY_NOT_FOUND
      • SYNC_CLIENT_ERROR_CONFLICT_NOT_FOUND

        public static final SyncClientResult SYNC_CLIENT_ERROR_CONFLICT_NOT_FOUND
      • SYNC_CLIENT_ERROR_CONFLICTS

        public static final SyncClientResult SYNC_CLIENT_ERROR_CONFLICTS
      • SYNC_CLIENT_ERROR_CONFLICT_RES_NEEDED

        public static final SyncClientResult SYNC_CLIENT_ERROR_CONFLICT_RES_NEEDED
      • SYNC_CLIENT_ERROR_SYNC_IN_PROGRESS

        public static final SyncClientResult SYNC_CLIENT_ERROR_SYNC_IN_PROGRESS
      • SYNC_CLIENT_ERROR_SYNC_ERROR

        public static final SyncClientResult SYNC_CLIENT_ERROR_SYNC_ERROR
    • Method Detail

      • values

        public static SyncClientResult[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (SyncClientResult c : SyncClientResult.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SyncClientResult valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null