Class DefaultAdminLink
java.lang.Object
com.atlassian.administration.quicksearch.impl.spi.AbstractDefaultAdminWebItem<com.atlassian.plugin.web.api.descriptors.WebItemModuleDescriptor>
com.atlassian.administration.quicksearch.impl.spi.DefaultAdminLink
- All Implemented Interfaces:
AdminLink,AdminWebItem
public class DefaultAdminLink
extends AbstractDefaultAdminWebItem<com.atlassian.plugin.web.api.descriptors.WebItemModuleDescriptor>
implements AdminLink
Default implementation of
AdminLink based on the Atlassian web-fragments API.- Since:
- 1.0
-
Field Summary
Fields inherited from class com.atlassian.administration.quicksearch.impl.spi.AbstractDefaultAdminWebItem
context, descriptor -
Constructor Summary
ConstructorsConstructorDescriptionDefaultAdminLink(com.atlassian.plugin.web.api.descriptors.WebItemModuleDescriptor descriptor, RenderingContext context) -
Method Summary
Modifier and TypeMethodDescriptiongetLabel()Human readable label of the item.Get URL of this admin link.Methods inherited from class com.atlassian.administration.quicksearch.impl.spi.AbstractDefaultAdminWebItem
getCompleteKey, getId, getParametersMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.administration.quicksearch.spi.AdminWebItem
getId, getParameters
-
Constructor Details
-
DefaultAdminLink
public DefaultAdminLink(com.atlassian.plugin.web.api.descriptors.WebItemModuleDescriptor descriptor, RenderingContext context)
-
-
Method Details
-
getLinkUrl
Description copied from interface:AdminLinkGet URL of this admin link.- Specified by:
getLinkUrlin interfaceAdminLink- Returns:
- URL of the link
-
getLabel
Description copied from interface:AdminWebItemHuman readable label of the item. Can benull.- Specified by:
getLabelin interfaceAdminWebItem- Returns:
- label of the item
-