public static enum Directory.EntryScope extends Enum<Directory.EntryScope>
Directory.getEntries(com.atlassian.gadgets.GadgetRequestContext, com.atlassian.gadgets.directory.Directory.EntryScope) is called.
The reason behind scoping is it is faster to retrieve local entries.| Modifier and Type | Method and Description |
|---|---|
static Directory.EntryScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Directory.EntryScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Directory.EntryScope ALL
public static final Directory.EntryScope LOCAL
public static final Directory.EntryScope EXTERNAL
public static Directory.EntryScope[] values()
for (Directory.EntryScope c : Directory.EntryScope.values()) System.out.println(c);
public static Directory.EntryScope 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 © 2024 Atlassian. All rights reserved.