Enum BrokenRefType
- java.lang.Object
-
- java.lang.Enum<BrokenRefType>
-
- com.xwiki.confluencepro.referencefixer.BrokenRefType
-
- All Implemented Interfaces:
Serializable,Comparable<BrokenRefType>
public enum BrokenRefType extends Enum<BrokenRefType>
Type of broken links.- Since:
- 1.29.0
- Version:
- $Id$
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BROKEN_LINKSReferences to fix are broken links of the shape spaceName.name-strategy-validated-page-title.CONFLUENCE_REFSReferences to fix are confluence references (confluencePage, confluenceAttach, confluenceSpace).UNKNOWNReferences to fix are of unknown shape and all kinds of references should be fixed.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BrokenRefTypevalueOf(String name)Returns the enum constant of this type with the specified name.static BrokenRefType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BROKEN_LINKS
public static final BrokenRefType BROKEN_LINKS
References to fix are broken links of the shape spaceName.name-strategy-validated-page-title. These references were generated by old versions of the migrator.
-
CONFLUENCE_REFS
public static final BrokenRefType CONFLUENCE_REFS
References to fix are confluence references (confluencePage, confluenceAttach, confluenceSpace). These references are generated by current versions of the migrator.
-
UNKNOWN
public static final BrokenRefType UNKNOWN
References to fix are of unknown shape and all kinds of references should be fixed.
-
-
Method Detail
-
values
public static BrokenRefType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BrokenRefType c : BrokenRefType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BrokenRefType 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 nameNullPointerException- if the argument is null
-
-