Enum Class FidoMetadataDownloader.CachePolicyDecision

java.lang.Object
java.lang.Enum<FidoMetadataDownloader.CachePolicyDecision>
com.yubico.fido.metadata.FidoMetadataDownloader.CachePolicyDecision
All Implemented Interfaces:
Serializable, Comparable<FidoMetadataDownloader.CachePolicyDecision>, Constable
Enclosing class:
FidoMetadataDownloader

public static enum FidoMetadataDownloader.CachePolicyDecision extends Enum<FidoMetadataDownloader.CachePolicyDecision>
Values for the FidoMetadataDownloader.FidoMetadataDownloaderBuilder.cachePolicy(Function) argument function to return to express how FidoMetadataDownloader.refreshBlob() and FidoMetadataDownloader.loadCachedBlob() should behave when a BLOB download fails.
  • Enum Constant Details

  • Method Details

    • 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 FidoMetadataDownloader.CachePolicyDecision 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