com.pyxis.greenhopper.jira.fields
Class CustomFieldNumber

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
              extended by com.pyxis.greenhopper.jira.fields.CustomFieldNumber
All Implemented Interfaces:
CustomIssueField, IssueField, IssueTextField

public class CustomFieldNumber
extends CustomFieldText


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
CustomFieldNumber(com.atlassian.jira.issue.fields.CustomField field)
           
 
Method Summary
 void doValidate(BoardIssue boardIssue, java.lang.String newValue)
           
 java.lang.Object getValue(BoardIssue boardIssue)
           
 boolean isNumeric()
           
 void updateValue(BoardIssue boardIssue, java.lang.String newValue)
           
 
Methods inherited from class com.pyxis.greenhopper.jira.fields.CustomFieldText
canEdit, getCustomField, getDefaultDisplayValue, getDefaultValue, getDisplayValue, getTooltipValue, isCustomField
 
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

CustomFieldNumber

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

getValue

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

updateValue

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

doValidate

public void doValidate(BoardIssue boardIssue,
                       java.lang.String newValue)
                throws GreenHopperException
Overrides:
doValidate in class CustomFieldText
Throws:
GreenHopperException

isNumeric

public boolean isNumeric()
Specified by:
isNumeric in interface IssueTextField
Overrides:
isNumeric in class CustomFieldText


Copyright © 2007-2013 Atlassian. All Rights Reserved.