com.pyxis.greenhopper.jira.fields
Class AbstractReadOnlyField
java.lang.Object
com.pyxis.greenhopper.jira.fields.AbstractIssueField
com.pyxis.greenhopper.jira.fields.AbstractTextField
com.pyxis.greenhopper.jira.fields.AbstractReadOnlyField
- All Implemented Interfaces:
- IssueField, IssueTextField
- Direct Known Subclasses:
- CustomFieldReadOnly, IssueKey, ParentStatusField, StatusField
public abstract class AbstractReadOnlyField
- extends AbstractTextField
Field Summary |
static java.lang.String |
READONLY
|
Fields inherited from class com.pyxis.greenhopper.jira.fields.AbstractIssueField |
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 |
Methods inherited from class com.pyxis.greenhopper.jira.fields.AbstractIssueField |
equals, getCssType, getId, getIdAsLong, getJsonDisplayTemplate, getLabel, getLink, getTransitionTemplate, getUpdateTemplate, hashCode, isClickable, isCorner, isCustomField, validate |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
READONLY
public static final java.lang.String READONLY
- See Also:
- Constant Field Values
AbstractReadOnlyField
public AbstractReadOnlyField(java.lang.String id,
java.lang.String label)
getType
public java.lang.String getType()
getEditTemplate
public java.lang.String getEditTemplate()
- Specified by:
getEditTemplate
in interface IssueField
- Overrides:
getEditTemplate
in class AbstractTextField
getCreateTemplate
public java.lang.String getCreateTemplate()
- Specified by:
getCreateTemplate
in interface IssueField
- Overrides:
getCreateTemplate
in class AbstractTextField
canEdit
public boolean canEdit(BoardIssue boardIssue)
updateValue
public void updateValue(BoardIssue boardIssue,
java.lang.String newValue)
throws GreenHopperException,
java.lang.Exception
- Throws:
GreenHopperException
java.lang.Exception
getDefaultDisplayValue
public java.lang.String getDefaultDisplayValue(BoardIssue boardIssue)
getDefaultValue
public java.lang.Object getDefaultValue(BoardIssue boardIssue)
doValidate
public void doValidate(BoardIssue boardIssue,
java.lang.String newValue)
throws GreenHopperException
- Specified by:
doValidate
in class AbstractIssueField
- Throws:
GreenHopperException
isNumeric
public boolean isNumeric()
Copyright © 2007-2014 Atlassian. All Rights Reserved.