com.pyxis.greenhopper.jira.fields
Class CustomFieldText

java.lang.Object
  extended by com.pyxis.greenhopper.jira.fields.AbstractIssueField
      extended by com.pyxis.greenhopper.jira.fields.AbstractTextField
          extended by com.pyxis.greenhopper.jira.fields.CustomFieldText
All Implemented Interfaces:
CustomIssueField, IssueField, IssueTextField
Direct Known Subclasses:
AbstractCustomFieldPicker, CustomFieldNumber, CustomFieldURL

public class CustomFieldText
extends AbstractTextField
implements CustomIssueField


Field Summary
 
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
 
Constructor Summary
CustomFieldText(com.atlassian.jira.issue.fields.CustomField field)
           
 
Method Summary
 boolean canEdit(BoardIssue boardIssue)
           
 void doValidate(BoardIssue boardIssue, java.lang.String newValue)
           
 com.atlassian.jira.issue.fields.CustomField getCustomField()
           
 java.lang.String getDefaultDisplayValue(BoardIssue boardIssue)
           
 java.lang.Object getDefaultValue(BoardIssue boardIssue)
           
 java.lang.String getDisplayValue(BoardIssue boardIssue)
           
 java.lang.String getTooltipValue(BoardIssue boardIssue)
           
 java.lang.Object getValue(BoardIssue boardIssue)
           
 boolean isCustomField()
           
 boolean isNumeric()
           
 void updateValue(BoardIssue boardIssue, java.lang.String newValue)
           
 
Methods inherited from class com.pyxis.greenhopper.jira.fields.AbstractTextField
getCreateTemplate, getDisplayTemplate, getEditTemplate, getInputType, getValueFromString, lines, weight
 
Methods inherited from class com.pyxis.greenhopper.jira.fields.AbstractIssueField
equals, getCssType, getId, getIdAsLong, getJsonDisplayTemplate, getLabel, getLink, getTransitionTemplate, getUpdateTemplate, hashCode, isClickable, isCorner, validate
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.pyxis.greenhopper.jira.fields.IssueField
getCreateTemplate, getCssType, getDisplayTemplate, getEditTemplate, getId, getIdAsLong, getInputType, getJsonDisplayTemplate, getLabel, getLink, getUpdateTemplate, getValueFromString, isClickable, isCorner, lines, validate, weight
 

Constructor Detail

CustomFieldText

public CustomFieldText(com.atlassian.jira.issue.fields.CustomField field)
Method Detail

getCustomField

public com.atlassian.jira.issue.fields.CustomField getCustomField()
Specified by:
getCustomField in interface CustomIssueField

canEdit

public boolean canEdit(BoardIssue boardIssue)
Specified by:
canEdit in interface IssueField

getDisplayValue

public java.lang.String getDisplayValue(BoardIssue boardIssue)
Specified by:
getDisplayValue in interface IssueField

getValue

public java.lang.Object getValue(BoardIssue boardIssue)
Specified by:
getValue in interface IssueField

getTooltipValue

public java.lang.String getTooltipValue(BoardIssue boardIssue)
Specified by:
getTooltipValue in interface IssueField

getDefaultDisplayValue

public java.lang.String getDefaultDisplayValue(BoardIssue boardIssue)
Specified by:
getDefaultDisplayValue in interface IssueField

getDefaultValue

public java.lang.Object getDefaultValue(BoardIssue boardIssue)
Specified by:
getDefaultValue in interface IssueField

updateValue

public void updateValue(BoardIssue boardIssue,
                        java.lang.String newValue)
                 throws GreenHopperException,
                        java.lang.Exception
Specified by:
updateValue in interface IssueField
Throws:
GreenHopperException
java.lang.Exception

doValidate

public void doValidate(BoardIssue boardIssue,
                       java.lang.String newValue)
                throws GreenHopperException
Specified by:
doValidate in class AbstractIssueField
Throws:
GreenHopperException

isCustomField

public boolean isCustomField()
Specified by:
isCustomField in interface IssueField
Overrides:
isCustomField in class AbstractIssueField

isNumeric

public boolean isNumeric()
Specified by:
isNumeric in interface IssueTextField


Copyright © 2007-2014 Atlassian. All Rights Reserved.