public final class

DefaultValueConfigItem

extends Object
implements FieldConfigItemType
java.lang.Object
   ↳ com.atlassian.jira.issue.customfields.config.item.DefaultValueConfigItem

Class Overview

A FieldConfigItemType that represents a default value for the field.

Summary

Public Constructors
DefaultValueConfigItem()
Public Methods
String getBaseEditUrl()
Creates the base of the URL that links to the configuration screen for this type of configuration.
Object getConfigurationObject(Issue issue, FieldConfig config)
Returns an Object that holds the the configuration.
String getDisplayName()
The user interface name for this dimension of configuration.
String getDisplayNameKey()
The i18n key for the user interface name for this dimension of configuration.
String getObjectKey()
Returns a key unique among FieldConfigItemType implementations for the configuration value so it can be retrieved from a key-value pair store.
String getViewHtml(FieldConfig config, FieldLayoutItem fieldLayoutItem)
Renders a view of the current configuration as html.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.issue.fields.config.FieldConfigItemType

Public Constructors

public DefaultValueConfigItem ()

Public Methods

public String getBaseEditUrl ()

Creates the base of the URL that links to the configuration screen for this type of configuration.

Returns
  • the URL.

public Object getConfigurationObject (Issue issue, FieldConfig config)

Returns an Object that holds the the configuration.

Returns
  • the configuration value.

public String getDisplayName ()

The user interface name for this dimension of configuration.

Returns
  • the name.

public String getDisplayNameKey ()

The i18n key for the user interface name for this dimension of configuration.

Returns
  • the i18n key.

public String getObjectKey ()

Returns a key unique among FieldConfigItemType implementations for the configuration value so it can be retrieved from a key-value pair store.

Returns
  • the configuration key.

public String getViewHtml (FieldConfig config, FieldLayoutItem fieldLayoutItem)

Renders a view of the current configuration as html.

Returns
  • the view html.