Enum Class MacroMigrationPoint

java.lang.Object
java.lang.Enum<MacroMigrationPoint>
com.atlassian.confluence.macro.xhtml.MacroMigrationPoint
All Implemented Interfaces:
Serializable, Comparable<MacroMigrationPoint>, Constable

public enum MacroMigrationPoint extends Enum<MacroMigrationPoint>
Defines points at which a MacroMigration may be performed.

Some points, such as during Storage and Editor marshalling, will always be set - this enum includes additional points.

  • Enum Constant Details

  • Method Details

    • values

      public static MacroMigrationPoint[] 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 MacroMigrationPoint 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
    • of

      public static MacroMigrationPoint of(String point)
      Returns the MacroMigrationPoint enum for a string.
      Throws:
      IllegalArgumentException - if the string doesn't match any known enum value.