com.pyxis.greenhopper.jira.fields
Class RankingField

java.lang.Object
  extended by com.pyxis.greenhopper.jira.fields.AbstractIssueField
      extended by com.pyxis.greenhopper.jira.fields.RankingField
All Implemented Interfaces:
CustomIssueField, IssueField

public class RankingField
extends AbstractIssueField
implements CustomIssueField


Field Summary
static java.lang.String ALIAS
           
 
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
RankingField(com.atlassian.jira.issue.fields.CustomField field)
           
 
Method Summary
 boolean canEdit(BoardIssue boardIssue)
           
 void checkEligibility(com.atlassian.jira.project.Project project, IssueFieldManager issueFieldManager)
           
protected  void doValidate(BoardIssue boardIssue, java.lang.String newValue)
           
 java.lang.String getCreateTemplate()
           
 com.atlassian.jira.issue.fields.CustomField getCustomField()
           
 java.lang.String getDefaultDisplayValue(BoardIssue boardIssue)
           
 java.lang.Object getDefaultValue(BoardIssue boardIssue)
           
 java.lang.String getDisplayTemplate()
           
 java.lang.String getDisplayValue(BoardIssue boardIssue)
           
 java.lang.String getEditTemplate()
           
 java.lang.String getInputType()
           
 java.lang.String getTooltipValue(BoardIssue boardIssue)
           
 java.lang.Object getValue(BoardIssue boardIssue)
           
 java.lang.Object getValueFromString(java.lang.String values)
           
 boolean initFor(com.atlassian.jira.project.Project project, IssueFieldManager issueFieldManager)
           
 void initOrRepairFor(com.atlassian.jira.project.Project project, IssueFieldManager issueFieldManager)
           
 boolean isCustomField()
           
 int lines()
           
 void updateValue(BoardIssue boardIssue, java.lang.String newValue)
           
 int 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
getCssType, getId, getIdAsLong, getJsonDisplayTemplate, getLabel, getLink, getUpdateTemplate, isClickable, isCorner, validate
 

Field Detail

ALIAS

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

RankingField

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

initFor

public boolean initFor(com.atlassian.jira.project.Project project,
                       IssueFieldManager issueFieldManager)
                throws GreenHopperException
Throws:
GreenHopperException

initOrRepairFor

public void initOrRepairFor(com.atlassian.jira.project.Project project,
                            IssueFieldManager issueFieldManager)
                     throws GreenHopperException
Throws:
GreenHopperException

checkEligibility

public void checkEligibility(com.atlassian.jira.project.Project project,
                             IssueFieldManager issueFieldManager)
                      throws GreenHopperException
Throws:
GreenHopperException

getCreateTemplate

public java.lang.String getCreateTemplate()
Specified by:
getCreateTemplate in interface IssueField

getDisplayTemplate

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

getInputType

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

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

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

getValueFromString

public java.lang.Object getValueFromString(java.lang.String values)
Specified by:
getValueFromString in interface IssueField

getDefaultValue

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

getDisplayValue

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

getDefaultDisplayValue

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

getEditTemplate

public java.lang.String getEditTemplate()
Specified by:
getEditTemplate in interface IssueField

lines

public int lines()
Specified by:
lines in interface IssueField

weight

public int weight()
Specified by:
weight 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

isCustomField

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

doValidate

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


Copyright © 2007-2011 Atlassian. All Rights Reserved.