public class CustomFieldDescription extends Object
Constructor and Description |
---|
CustomFieldDescription(RenderablePropertyFactory renderablePropertyFactory,
I18nHelper.BeanFactory i18nFactory,
JiraAuthenticationContext authenticationContext) |
Modifier and Type | Method and Description |
---|---|
RenderableProperty |
createRenderablePropertyFor(CustomField customField)
Creates a RenderableProperty used for rendering view/edit controls for a given CustomField.
|
RenderableProperty |
createRenderablePropertyFor(String description)
Creates a RenderableProperty used for translating a given CustomField.
|
public CustomFieldDescription(RenderablePropertyFactory renderablePropertyFactory, I18nHelper.BeanFactory i18nFactory, JiraAuthenticationContext authenticationContext)
@Nonnull public RenderableProperty createRenderablePropertyFor(@Nullable CustomField customField)
customField
is null, then the RenderableProperty will not have any associated storage (but can be used to render
the description field in the "create custom field" page).customField
- a CustomField (may be null)@Nonnull public RenderableProperty createRenderablePropertyFor(String description)
description
- Copyright © 2002-2022 Atlassian. All Rights Reserved.