public abstract class AbstractQuickFilterRuleType extends Object implements QuickFilterRuleType, InitablePluginModule<QuickFilterRuleTypeModuleDescriptor>
| Modifier and Type | Field and Description |
|---|---|
protected QuickFilterRuleTypeModuleDescriptor |
moduleDescriptor |
protected TemplateRenderer |
templateRenderer |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractQuickFilterRuleType(TemplateRenderer templateRenderer) |
| Modifier and Type | Method and Description |
|---|---|
String |
getEditHtml(Map<String,Object> configuration)
Get rendered HTML snippet for editing configuration of this rule type.
|
String |
getKey()
Complete plugin module key of this rule type.
|
void |
init(QuickFilterRuleTypeModuleDescriptor moduleDescriptor)
Initialises the Plugin with the plugin module descriptor
|
protected abstract void |
populateContextForEdit(Map<String,Object> configuration,
Map<String,Object> context)
Populate edit HTML template's context.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddDefaults, getConfigurationKeys, getDescription, getName, matches, validateprotected final TemplateRenderer templateRenderer
protected QuickFilterRuleTypeModuleDescriptor moduleDescriptor
protected AbstractQuickFilterRuleType(@NotNull
TemplateRenderer templateRenderer)
public void init(@NotNull
QuickFilterRuleTypeModuleDescriptor moduleDescriptor)
InitablePluginModuleinit in interface InitablePluginModule<QuickFilterRuleTypeModuleDescriptor>moduleDescriptor - Plugin module descriptor@NotNull public String getKey()
QuickFilterRuleTypegetKey in interface QuickFilterRuleTypeprotected abstract void populateContextForEdit(@NotNull
Map<String,Object> configuration,
@NotNull
Map<String,Object> context)
getEditHtml(Map).configuration - rule configuration; the values may only be strings or lists of stringscontext - initial template's context, might be empty; values may be of any type@Nullable public String getEditHtml(@NotNull Map<String,Object> configuration)
QuickFilterRuleTypegetEditHtml in interface QuickFilterRuleTypeconfiguration - configuration of this rule, might be empty (but still non null) on initial call; the values
may only be strings or lists of stringsCopyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.