Enum Class ConversionTarget

java.lang.Object
java.lang.Enum<ConversionTarget>
me.pauleff.converter.ConversionTarget
All Implemented Interfaces:
Serializable, Comparable<ConversionTarget>, Constable

public enum ConversionTarget extends Enum<ConversionTarget>
Indicates whether a conversion run remaps player data toward online or offline mode.
  • Enum Constant Details

    • ONLINE

      public static final ConversionTarget ONLINE
      Convert player UUIDs and references toward online (Mojang) mode.
    • OFFLINE

      public static final ConversionTarget OFFLINE
      Convert player UUIDs and references toward offline mode.
  • Method Details

    • values

      public static ConversionTarget[] 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 ConversionTarget 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