@Unstable public enum MentionLocation extends Enum<MentionLocation>
Enum Constant and Description |
---|
ANNOTATION
In an annotation.
|
AWM_FIELD
In a Application Within Minutes field.
|
COMMENT
In a comment.
|
DOCUMENT
Body of a document.
|
UNDEFINED
When the location of the mention is unknown.
|
Modifier and Type | Method and Description |
---|---|
static MentionLocation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MentionLocation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MentionLocation DOCUMENT
public static final MentionLocation COMMENT
public static final MentionLocation ANNOTATION
public static final MentionLocation AWM_FIELD
public static final MentionLocation UNDEFINED
public static MentionLocation[] values()
for (MentionLocation c : MentionLocation.values()) System.out.println(c);
public static MentionLocation valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2004–2022 XWiki. All rights reserved.