public class LabelField extends AbstractTextField
Modifier and Type | Field and Description |
---|---|
static String |
COMMA |
static String |
SPACE |
GREENHOPPER_PLUGIN, GROUP_PICKER, id, idLong, label, log, MULTI_GROUP_PICKER, MULTI_SELECT, MULTI_USER_PICKER, NUMBER, SELECT, TEXT, TEXT_AREA, TEXT_FIELD, USER_PICKER
Constructor and Description |
---|
LabelField() |
LabelField(com.atlassian.jira.issue.fields.CustomField customField) |
Modifier and Type | Method and Description |
---|---|
static Set<String> |
asSet(String splitableValues) |
static Set<com.atlassian.jira.issue.label.Label> |
asSetofLabels(String splitableValues,
String del) |
boolean |
canEdit(BoardIssue boardIssue) |
protected void |
doValidate(BoardIssue boardIssue,
String newValue) |
String |
getCreateTemplate() |
com.atlassian.jira.issue.fields.CustomField |
getCustomField() |
String |
getDefaultDisplayValue(BoardIssue boardIssue) |
Object |
getDefaultValue(BoardIssue boardIssue) |
String |
getDisplayTemplate() |
String |
getDisplayValue(BoardIssue boardIssue) |
String |
getEditTemplate() |
Set<com.atlassian.jira.issue.label.Label> |
getLabelValues(BoardIssue boardIssue)
BFP for nick.
|
String |
getLink(BoardIssue boardIssue,
String value) |
String |
getTooltipValue(BoardIssue boardIssue) |
Object |
getValue(BoardIssue boardIssue) |
boolean |
isCustomField() |
boolean |
isNumeric() |
void |
updateValue(BoardIssue boardIssue,
String newValue) |
getInputType, getValueFromString, lines, weight
equals, getCssType, getId, getIdAsLong, getJsonDisplayTemplate, getLabel, getTransitionTemplate, getUpdateTemplate, hashCode, isClickable, isCorner, validate
public static final String SPACE
public static final String COMMA
public LabelField(com.atlassian.jira.issue.fields.CustomField customField)
public LabelField()
public com.atlassian.jira.issue.fields.CustomField getCustomField()
public String getEditTemplate()
getEditTemplate
in interface IssueField
getEditTemplate
in class AbstractTextField
public String getDisplayTemplate()
getDisplayTemplate
in interface IssueField
getDisplayTemplate
in class AbstractTextField
public String getCreateTemplate()
getCreateTemplate
in interface IssueField
getCreateTemplate
in class AbstractTextField
public boolean isCustomField()
isCustomField
in interface IssueField
isCustomField
in class AbstractIssueField
public Object getDefaultValue(BoardIssue boardIssue)
public Set<com.atlassian.jira.issue.label.Label> getLabelValues(BoardIssue boardIssue)
public String getDisplayValue(BoardIssue boardIssue)
public Object getValue(BoardIssue boardIssue)
public String getLink(BoardIssue boardIssue, String value)
getLink
in interface IssueField
getLink
in class AbstractIssueField
public void updateValue(BoardIssue boardIssue, String newValue) throws GreenHopperException, Exception
GreenHopperException
Exception
public static Set<com.atlassian.jira.issue.label.Label> asSetofLabels(String splitableValues, String del)
public boolean isNumeric()
public String getDefaultDisplayValue(BoardIssue boardIssue)
public String getTooltipValue(BoardIssue boardIssue)
public boolean canEdit(BoardIssue boardIssue)
protected void doValidate(BoardIssue boardIssue, String newValue) throws GreenHopperException
doValidate
in class AbstractIssueField
GreenHopperException
Copyright © 2007–2015 Atlassian. All rights reserved.