com.atlassian.plugin
Enum PluginArtifact.AllowsReference.ReferenceMode
java.lang.Object
java.lang.Enum<PluginArtifact.AllowsReference.ReferenceMode>
com.atlassian.plugin.PluginArtifact.AllowsReference.ReferenceMode
- All Implemented Interfaces:
- Serializable, Comparable<PluginArtifact.AllowsReference.ReferenceMode>
- Enclosing interface:
- PluginArtifact.AllowsReference
public static enum PluginArtifact.AllowsReference.ReferenceMode
- extends Enum<PluginArtifact.AllowsReference.ReferenceMode>
A named boolean for specifying PluginArtifact.AllowsReference.allowsReference()
return values.
FORBID_REFERENCE
public static final PluginArtifact.AllowsReference.ReferenceMode FORBID_REFERENCE
PluginArtifact.AllowsReference.allowsReference() returns false.
PERMIT_REFERENCE
public static final PluginArtifact.AllowsReference.ReferenceMode PERMIT_REFERENCE
PluginArtifact.AllowsReference.allowsReference() returns true.
values
public static PluginArtifact.AllowsReference.ReferenceMode[] 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 (PluginArtifact.AllowsReference.ReferenceMode c : PluginArtifact.AllowsReference.ReferenceMode.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static PluginArtifact.AllowsReference.ReferenceMode 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 name
NullPointerException - if the argument is null
Copyright © 2015 Atlassian. All rights reserved.