public enum ReferenceMode extends Enum<ReferenceMode>
| Enum Constant and Description |
|---|
FORBID_REFERENCE
allowsReference returns false. |
PERMIT_REFERENCE
allowsReference returns true. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowsReference() |
static ReferenceMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReferenceMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReferenceMode FORBID_REFERENCE
allowsReference returns false.public static final ReferenceMode PERMIT_REFERENCE
allowsReference returns true.public static ReferenceMode[] values()
for (ReferenceMode c : ReferenceMode.values()) System.out.println(c);
public static ReferenceMode 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 nullpublic boolean allowsReference()
Copyright © 2018 Atlassian. All rights reserved.