Enum BeaconUpdate

java.lang.Object
java.lang.Enum<BeaconUpdate>
com.thunken.beacon.BeaconUpdate
All Implemented Interfaces:
Serializable, Comparable<BeaconUpdate>, java.lang.constant.Constable

public enum BeaconUpdate
extends Enum<BeaconUpdate>
Enumerated type for BEACON dump update frequencies. The BeaconMetaField.UPDATE meta field specifies how frequently a link dump is likely to change. The field corresponds to the <changefreq> element in Sitemaps XML format.
See Also:
https://gbv.github.io/beaconspec/beacon.html#update
  • Enum Constant Details

  • Method Details

    • values

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

      public static BeaconUpdate valueOf​(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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getTemporalAmount

      public TemporalAmount getTemporalAmount()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<BeaconUpdate>
    • of

      public static BeaconUpdate of​(String string)