com.atlassian.gadgets.directory
Interface Directory
- All Known Implementing Classes:
- DirectoryImpl
public interface Directory
Nested Class Summary |
static interface |
Directory.Entry
A single entry in the directory. |
DIRECTORY_FEATURE_NAME
static final String DIRECTORY_FEATURE_NAME
- See Also:
- Constant Field Values
DIRECTORY_FEATURE_CATEGORIES_NAME
static final String DIRECTORY_FEATURE_CATEGORIES_NAME
- See Also:
- Constant Field Values
getEntries
Iterable<Directory.Entry> getEntries(GadgetRequestContext gadgetRequestContext)
- Returns all the entries available, localized by the
locale
.
- Parameters:
gadgetRequestContext
- the context of this request
- Returns:
- all the entries available
contains
boolean contains(URI gadgetSpecUri)
- Parameters:
gadgetSpecUri
- uri of the gadget spec to check if it's in the directory
- Returns:
- true if the gadget spec at the location specificied by the uri is in the directory, false otherwise
Copyright © 2014 Atlassian. All Rights Reserved.