com.pyxis.greenhopper.jira.fields
Class AbstractTimeField

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.AbstractTimeField
All Implemented Interfaces:
IssueField, IssueTextField
Direct Known Subclasses:
Remaining, TimeSpent

public abstract class AbstractTimeField
extends AbstractTextField


Field Summary
static java.lang.String TIMETRACKING
           
 
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
AbstractTimeField(java.lang.String id, java.lang.String label)
           
 
Method Summary
 void doValidate(BoardIssue boardIssue, java.lang.String newValue)
           
 java.lang.String getCreateTemplate()
           
 java.lang.String getDisplayTemplate()
           
 java.lang.String getEditTemplate()
           
 java.lang.String getInputType()
           
 boolean isNumeric()
           
 void updateValue(BoardIssue boardIssue, java.lang.String newValue)
           
 
Methods inherited from class com.pyxis.greenhopper.jira.fields.AbstractTextField
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, isCustomField, 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
canEdit, getDefaultDisplayValue, getDefaultValue, getDisplayValue, getTooltipValue, getValue
 

Field Detail

TIMETRACKING

public static final java.lang.String TIMETRACKING
See Also:
Constant Field Values
Constructor Detail

AbstractTimeField

public AbstractTimeField(java.lang.String id,
                         java.lang.String label)
Method Detail

getDisplayTemplate

public java.lang.String getDisplayTemplate()
Specified by:
getDisplayTemplate in interface IssueField
Overrides:
getDisplayTemplate in class AbstractTextField

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

getInputType

public java.lang.String getInputType()
Specified by:
getInputType in interface IssueField
Overrides:
getInputType in class AbstractTextField

updateValue

public void updateValue(BoardIssue boardIssue,
                        java.lang.String newValue)
                 throws GreenHopperException,
                        java.lang.Exception
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

isNumeric

public boolean isNumeric()


Copyright © 2007-2014 Atlassian. All Rights Reserved.