Enum DuplicateContentsManager.Status
- java.lang.Object
-
- java.lang.Enum<DuplicateContentsManager.Status>
-
- org.ametys.cms.duplicate.contents.DuplicateContentsManager.Status
-
- All Implemented Interfaces:
Serializable
,Comparable<DuplicateContentsManager.Status>
- Enclosing class:
- DuplicateContentsManager
public static enum DuplicateContentsManager.Status extends Enum<DuplicateContentsManager.Status>
The status of the query
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EMPTY
empty querySUCCESSFUL
Successful queryTOO_COMPLEX
too complex query
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DuplicateContentsManager.Status
valueOf(String name)
Returns the enum constant of this type with the specified name.static DuplicateContentsManager.Status[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUCCESSFUL
public static final DuplicateContentsManager.Status SUCCESSFUL
Successful query
-
TOO_COMPLEX
public static final DuplicateContentsManager.Status TOO_COMPLEX
too complex query
-
EMPTY
public static final DuplicateContentsManager.Status EMPTY
empty query
-
-
Method Detail
-
values
public static DuplicateContentsManager.Status[] 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 (DuplicateContentsManager.Status c : DuplicateContentsManager.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DuplicateContentsManager.Status 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
-
-