Enum Class CatalogUpdateState

java.lang.Object
java.lang.Enum<CatalogUpdateState>
com.here.sdk.maploader.CatalogUpdateState
All Implemented Interfaces:
Serializable, Comparable<CatalogUpdateState>, Constable

public enum CatalogUpdateState extends Enum<CatalogUpdateState>

Represents the state of catalog map updates.

  • Enum Constant Details

    • UPDATE_AVAILABLE

      public static final CatalogUpdateState UPDATE_AVAILABLE

      Previously downloaded catalog version can be updated to their latest version.

    • PENDING_UPDATE

      public static final CatalogUpdateState PENDING_UPDATE

      Previous catalog downloading is ongoing or interrupted.

    • UPDATE_BLOCKED_AS_ANOTHER_PENDING

      public static final CatalogUpdateState UPDATE_BLOCKED_AS_ANOTHER_PENDING

      When more than one catalog is used or configured, and the update process for it fails, then that specific catalog goes in PENDING_UPDATE state. A user should not update any other catalog until the catalog in PENDING_UPDATE state is updated. Other catalogs will be set to UPDATE_BLOCKED_AS_ANOTHER_PENDING until the update process has been completed.

    • UNKNOWN_STATE

      public static final CatalogUpdateState UNKNOWN_STATE

      State is not fetched, so unknown

  • Method Details

    • values

      public static CatalogUpdateState[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static CatalogUpdateState valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null