com.pyxis.greenhopper.jira.fields
Class Component

java.lang.Object
  extended by com.pyxis.greenhopper.jira.fields.AbstractIssueField
      extended by com.pyxis.greenhopper.jira.fields.AbstractSelectField
          extended by com.pyxis.greenhopper.jira.fields.Component
All Implemented Interfaces:
IssueField

public final class Component
extends AbstractSelectField


Field Summary
static java.lang.String LABEL
           
 
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
Component()
           
 
Method Summary
 boolean canEdit(BoardIssue boardIssue)
           
 void doValidate(BoardIssue boardIssue, java.lang.String value)
           
 java.util.LinkedList<FieldOption> getAllAvailableValuesForSelect(BoardIssue boardIssue)
           
 java.lang.String getDefaultDisplayValue(BoardIssue boardIssue)
           
 java.lang.Object getDefaultValue(BoardIssue boardIssue)
           
 java.lang.String getDisplayValue(BoardIssue boardIssue)
           
 java.lang.String getLink(BoardIssue boardIssue, java.lang.String value)
           
 java.lang.String getTooltipValue(BoardIssue boardIssue)
           
 java.lang.Object getValue(BoardIssue boardIssue)
           
 java.lang.Object getValueFromString(java.lang.String values)
           
 boolean isClickable(BoardIssue boardIssue)
           
 void updateValue(BoardIssue boardIssue, java.lang.String newValue)
           
 
Methods inherited from class com.pyxis.greenhopper.jira.fields.AbstractSelectField
getCreateTemplate, getDisplayTemplate, getEditTemplate, getInputType, getUpdateTemplate, lines, weight
 
Methods inherited from class com.pyxis.greenhopper.jira.fields.AbstractIssueField
equals, getCssType, getId, getIdAsLong, getJsonDisplayTemplate, getLabel, getTransitionTemplate, hashCode, isCorner, isCustomField, validate
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LABEL

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

Component

public Component()
Method Detail

getDisplayValue

public java.lang.String getDisplayValue(BoardIssue boardIssue)

getValue

public java.lang.Object getValue(BoardIssue boardIssue)

getTooltipValue

public java.lang.String getTooltipValue(BoardIssue boardIssue)

getDefaultDisplayValue

public java.lang.String getDefaultDisplayValue(BoardIssue boardIssue)

getDefaultValue

public java.lang.Object getDefaultValue(BoardIssue boardIssue)

updateValue

public void updateValue(BoardIssue boardIssue,
                        java.lang.String newValue)
                 throws GreenHopperException,
                        java.lang.Exception
Throws:
GreenHopperException
java.lang.Exception

getAllAvailableValuesForSelect

public java.util.LinkedList<FieldOption> getAllAvailableValuesForSelect(BoardIssue boardIssue)
Specified by:
getAllAvailableValuesForSelect in class AbstractSelectField

doValidate

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

canEdit

public boolean canEdit(BoardIssue boardIssue)

getLink

public java.lang.String getLink(BoardIssue boardIssue,
                                java.lang.String value)
Specified by:
getLink in interface IssueField
Overrides:
getLink in class AbstractIssueField

isClickable

public boolean isClickable(BoardIssue boardIssue)
Specified by:
isClickable in interface IssueField
Overrides:
isClickable in class AbstractIssueField

getValueFromString

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


Copyright © 2007-2012 Atlassian. All Rights Reserved.