public class ReportModuleDescriptorImpl extends AbstractConfigurableModuleDescriptor<Report> implements ReportModuleDescriptor, com.atlassian.plugin.web.descriptors.ConditionalDescriptor
Report| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_THUMBNAIL_CSS_CLASS |
static int |
DEFAULT_WEIGHT |
static String |
PARAMS_PATTERN |
| Constructor and Description |
|---|
ReportModuleDescriptorImpl(JiraAuthenticationContext authenticationContext,
com.atlassian.plugin.module.ModuleFactory moduleFactory)
Deprecated.
|
ReportModuleDescriptorImpl(JiraAuthenticationContext authenticationContext,
com.atlassian.plugin.module.ModuleFactory moduleFactory,
ConditionDescriptorFactory conditionDescFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
enabled() |
ReportCategory |
getCategory()
Returns the report category.
|
com.atlassian.plugin.web.Condition |
getCondition() |
String |
getLabel() |
String |
getLabelKey() |
Report |
getModule() |
String |
getThumbnailCssClass()
Returns the class which will be used to decorate report thumbnail
|
com.atlassian.fugue.Option<String> |
getUrl(Map<String,Object> context)
Returns optional URL for the first page of this report within specified context.
|
String |
getUrl(Project context)
Returns url for first page of this report.
|
int |
getWeight() |
void |
init(com.atlassian.plugin.Plugin plugin,
org.dom4j.Element element) |
protected boolean |
isSingletonByDefault() |
disabled, getObjectConfiguration, getObjectDescriptorassertResourceExists, createModule, createVelocityParams, getAuthenticationContext, getClassLoader, getDescription, getHtml, getHtml, getI18nBean, getName, getText, getText, isResourceExist, writeHtmlassertModuleClassImplements, checkPermissions, destroy, destroy, equals, getCompleteKey, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getModuleClassName, getParams, getPlugin, getPluginKey, getRequiredPermissions, getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation, hashCode, isEnabledByDefault, isSingleton, isSystemModule, loadClass, loadClass, provideValidationRules, satisfiesMinJavaVersion, setPlugin, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetHtml, getHtml, getI18nBean, writeHtmldestroy, destroy, equals, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getName, getParams, getPlugin, getPluginKey, hashCode, isEnabledByDefault, isSystemModule, satisfiesMinJavaVersiongetResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocationgetObjectConfigurationpublic static final String PARAMS_PATTERN
public static final int DEFAULT_WEIGHT
public static final String DEFAULT_THUMBNAIL_CSS_CLASS
@Deprecated public ReportModuleDescriptorImpl(JiraAuthenticationContext authenticationContext, com.atlassian.plugin.module.ModuleFactory moduleFactory)
public ReportModuleDescriptorImpl(JiraAuthenticationContext authenticationContext, com.atlassian.plugin.module.ModuleFactory moduleFactory, ConditionDescriptorFactory conditionDescFactory)
protected boolean isSingletonByDefault()
isSingletonByDefault in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<Report>public void init(com.atlassian.plugin.Plugin plugin,
org.dom4j.Element element)
throws com.atlassian.plugin.PluginParseException
init in interface com.atlassian.plugin.ModuleDescriptor<Report>init in class AbstractConfigurableModuleDescriptor<Report>com.atlassian.plugin.PluginParseExceptionpublic void enabled()
enabled in interface com.atlassian.plugin.StateAwareenabled in class AbstractConfigurableModuleDescriptor<Report>public Report getModule()
getModule in interface ReportModuleDescriptorgetModule in interface com.atlassian.plugin.ModuleDescriptor<Report>getModule in class AbstractJiraModuleDescriptor<Report>public String getLabel()
getLabel in interface ReportModuleDescriptorpublic String getLabelKey()
getLabelKey in interface ReportModuleDescriptorpublic String getUrl(Project context)
ReportModuleDescriptorgetUrl in interface ReportModuleDescriptorcontext - project in which context this report is openedpublic com.atlassian.fugue.Option<String> getUrl(Map<String,Object> context)
ReportModuleDescriptornone() means the report should not show in this particular context.getUrl in interface ReportModuleDescriptorcontext - context in which this report is openedOption.none() when report should not show in this contextpublic ReportCategory getCategory()
ReportModuleDescriptorgetCategory in interface ReportModuleDescriptorpublic String getThumbnailCssClass()
ReportModuleDescriptorgetThumbnailCssClass in interface ReportModuleDescriptorpublic int getWeight()
getWeight in interface com.atlassian.plugin.web.descriptors.WeightedDescriptorpublic com.atlassian.plugin.web.Condition getCondition()
getCondition in interface com.atlassian.plugin.web.descriptors.ConditionalDescriptorCopyright © 2002-2016 Atlassian. All Rights Reserved.