public static interface Directory.Entry<T>
| Modifier and Type | Method and Description |
|---|---|
<V> V |
accept(DirectoryEntryVisitor<V> visitor)
Accepts the visitor.
|
String |
getAuthorEmail()
Returns the email address of the author of the gadget for this directory entry.
|
String |
getAuthorName()
Returns the name of the author of the gadget for this directory entry.
|
Set<Category> |
getCategories()
Returns the directory categories of this entry.
|
String |
getDescription()
Returns a textual description of the gadget for this directory entry.
|
T |
getId()
Returns the id of the directory entry.
|
URI |
getSelf()
Returns the unique URI of the directory entry.
|
URI |
getThumbnailUri()
Returns the URI of an image to display as a thumbnail or icon in the directory for this entry.
|
String |
getTitle()
Returns the title of the directory entry.
|
URI |
getTitleUri()
Returns a URI of the gadget author's choosing that is displayed as a link in the directory, with the title as
the link text.
|
boolean |
isDeletable()
Can this Gadget Spec File be removed from the directory?
|
@Nullable URI getSelf()
URI that represents this directory entry, or null if the entry is not directly
addressable.boolean isDeletable()
T getId()
null.String getTitle()
null, but may be an empty string.@Nullable URI getTitleUri()
null to
suppress the link.null.@Nullable URI getThumbnailUri()
null if no thumbnail or icon is available.null.String getAuthorName()
null, but may be an empty string.String getAuthorEmail()
null, but may be an
empty string.String getDescription()
null, but may be an empty string.@Nonnull Set<Category> getCategories()
Category.OTHER.Category.OTHER. Must not
be null.<V> V accept(DirectoryEntryVisitor<V> visitor)
V - the type returned by visitor's visit methods.visitor - the visitor.Copyright © 2024 Atlassian. All rights reserved.