Enum Class IiziGoInstances.CacheRotation

java.lang.Object
java.lang.Enum<IiziGoInstances.CacheRotation>
com.iizix.jetty.IiziGoInstances.CacheRotation
All Implemented Interfaces:
Serializable, Comparable<IiziGoInstances.CacheRotation>, Constable
Enclosing class:
IiziGoInstances

public static enum IiziGoInstances.CacheRotation extends Enum<IiziGoInstances.CacheRotation>
What a starting iiziGo does with the WebView2 cache folder (R-D-17).
Author:
Christopher Mindus
  • Enum Constant Details

    • KEEP

      public static final IiziGoInstances.CacheRotation KEEP
      Keep the current folder: the build has not changed.
    • ROTATE

      public static final IiziGoInstances.CacheRotation ROTATE
      Toggle c1/c2 and clear the old folder: the build changed and no other iiziGo runs.
    • POSTPONE

      public static final IiziGoInstances.CacheRotation POSTPONE
      Keep the current folder although the build changed: another live iiziGo uses it; the rotation is left to the next start that finds no other.
  • Method Details

    • values

      public static IiziGoInstances.CacheRotation[] 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 IiziGoInstances.CacheRotation 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