com.pyxis.greenhopper.jira.fields
Interface IssueField

All Known Subinterfaces:
CustomIssueField
All Known Implementing Classes:
AbstractCustomFieldDate, AbstractCustomFieldPicker, AbstractDateField, AbstractIssueField, AbstractMultiSelectField, AbstractReadOnlyField, AbstractSelectField, AbstractTextAreaField, AbstractTextField, AbstractTimeField, AffectedVersion, Assignee, Component, Created, CustomFieldDate, CustomFieldDateTime, CustomFieldGroup, CustomFieldMultiSelect, CustomFieldMultiVersion, CustomFieldNumber, CustomFieldProject, CustomFieldReadOnly, CustomFieldSelect, CustomFieldText, CustomFieldTextArea, CustomFieldURL, CustomFieldUser, CustomFieldVersion, Description, DueDate, Environment, FixForVersion, GlobalRankField, IssueKey, IssueType, LabelField, LastComment, NotSupported, OriginalEstimate, ParentStatusField, PriorityField, Remaining, Reporter, ResolutionField, Security, Spacer, StatusField, Summary, TimeSpent, Updated

public interface IssueField


Method Summary
 boolean canEdit(BoardIssue boardIssue)
           
 java.lang.String getCreateTemplate()
           
 java.lang.String getCssType()
          CSS class for formatting (e.g.
 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 getId()
           
 java.lang.Long getIdAsLong()
           
 java.lang.String getInputType()
           
 java.lang.String getJsonDisplayTemplate()
          Used to render a JSON representation of the field value
 java.lang.String getLabel()
          This must match the JIRA field name since it's used for JQL resolution!
 java.lang.String getLink(BoardIssue boardIssue, java.lang.String value)
           
 java.lang.String getTooltipValue(BoardIssue boardIssue)
           
 java.lang.String getUpdateTemplate()
           
 java.lang.Object getValue(BoardIssue boardIssue)
           
 java.lang.Object getValueFromString(java.lang.String value)
           
 boolean isClickable(BoardIssue issue)
           
 boolean isCorner(BoardIssue boardIssue)
           
 boolean isCustomField()
           
 int lines()
           
 void updateValue(BoardIssue boardIssue, java.lang.String newValue)
           
 void validate(BoardIssue boardIssue, java.lang.String newValue)
           
 int weight()
           
 

Method Detail

getDisplayValue

java.lang.String getDisplayValue(BoardIssue boardIssue)

getValue

java.lang.Object getValue(BoardIssue boardIssue)

getDefaultDisplayValue

java.lang.String getDefaultDisplayValue(BoardIssue boardIssue)

getDefaultValue

java.lang.Object getDefaultValue(BoardIssue boardIssue)

getTooltipValue

java.lang.String getTooltipValue(BoardIssue boardIssue)

getValueFromString

java.lang.Object getValueFromString(java.lang.String value)

updateValue

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

getDisplayTemplate

java.lang.String getDisplayTemplate()

getJsonDisplayTemplate

java.lang.String getJsonDisplayTemplate()
Used to render a JSON representation of the field value


getEditTemplate

java.lang.String getEditTemplate()

getCreateTemplate

java.lang.String getCreateTemplate()

getUpdateTemplate

java.lang.String getUpdateTemplate()

getInputType

java.lang.String getInputType()

getCssType

java.lang.String getCssType()
CSS class for formatting (e.g. "select", "text"). See issue.vm


getId

java.lang.String getId()

getIdAsLong

java.lang.Long getIdAsLong()
Returns:
the Long id of the field, or null if not supported by the field implementation

getLabel

java.lang.String getLabel()
This must match the JIRA field name since it's used for JQL resolution!


lines

int lines()

weight

int weight()

isCustomField

boolean isCustomField()

isCorner

boolean isCorner(BoardIssue boardIssue)

canEdit

boolean canEdit(BoardIssue boardIssue)

validate

void validate(BoardIssue boardIssue,
              java.lang.String newValue)
              throws GreenHopperException
Throws:
GreenHopperException

isClickable

boolean isClickable(BoardIssue issue)

getLink

java.lang.String getLink(BoardIssue boardIssue,
                         java.lang.String value)


Copyright © 2007-2014 Atlassian. All Rights Reserved.