com.pyxis.greenhopper.jira.configurations
Class ScrumDefaultConfiguration

java.lang.Object
  extended by com.pyxis.greenhopper.jira.configurations.AbstractPersisted
      extended by com.pyxis.greenhopper.jira.configurations.AbstractConfiguration
          extended by com.pyxis.greenhopper.jira.configurations.AbstractDefaultConfiguration
              extended by com.pyxis.greenhopper.jira.configurations.ScrumDefaultConfiguration
All Implemented Interfaces:
Configuration, Persisted

public class ScrumDefaultConfiguration
extends AbstractDefaultConfiguration


Field Summary
static java.lang.String BV_FIELD
           
static java.lang.String BV_FIELD_DESC
           
static java.lang.String EPIC_DESC_KEY
           
static java.lang.String EPIC_KEY
           
static java.lang.String FLAGGING_FIELD
           
static java.lang.String FLAGGING_FIELD_DESC
           
static java.lang.String FLAGGING_VALUE
           
static java.lang.String ID
           
static java.lang.String LABEL_FIELD
           
static java.lang.String LABEL_FIELD_DESC
           
static java.lang.String NAME
           
static java.lang.String SP_FIELD
           
static java.lang.String SP_FIELD_DESC
           
static java.lang.String STORY_DESC_KEY
           
static java.lang.String STORY_KEY
           
static java.lang.String SUBTASK_DESC_KEY
           
static java.lang.String SUBTASK_KEY
           
 
Fields inherited from class com.pyxis.greenhopper.jira.configurations.AbstractConfiguration
logger
 
Fields inherited from class com.pyxis.greenhopper.jira.configurations.AbstractPersisted
i18n, log
 
Fields inherited from interface com.pyxis.greenhopper.jira.configurations.Configuration
ALIAS, AUTO_ASSIGN, BASE_CONFIGURATION, CARD_BG_COLORED, CARD_COLORS, CARD_CREATION, CONFIGURATION, DONE, GREENHOPPER_ENTITY_NAME, IN_PROGRESS, LINK_TYPE, LIST_ALT, NWDAYS, PERMISSION_SCHEDULE, TO_DO, USE_AGGREGATION
 
Fields inherited from interface com.pyxis.greenhopper.jira.configurations.Persisted
CONFIGURATION_ID, CONFIGURATION_NAME, log
 
Constructor Summary
ScrumDefaultConfiguration()
           
 
Method Summary
 void addProject(com.atlassian.jira.project.Project project)
           
protected  IssueField createAndPersistField(java.lang.String key, java.lang.String type, java.lang.String searcher, java.lang.String[] issueTypes, IssueFieldManager issueFieldManager)
           
 java.util.Collection<java.lang.String> getAllIssueTypeIds()
           
 java.util.Collection<com.atlassian.jira.issue.issuetype.IssueType> getAllIssueTypes()
           
 IssueField getBusinessValueField(IssueFieldManager issueFieldManager)
           
 java.util.Map<java.lang.String,java.lang.String> getCardColors()
           
 java.util.Map<java.lang.String,java.lang.String> getCornerFieldIds(IssueFieldManager issueFieldManager)
           
protected  java.lang.String getDBPrefix()
           
protected  DefaultLayout getDefaultLayout()
           
 java.lang.String getEpicId()
           
 FlagField getFlagField(IssueFieldManager issueFieldManager)
           
 IssueField getLabelField(IssueFieldManager issueFieldManager)
           
 java.lang.String getName()
           
 java.util.Set<IssueField> getRankingFields(IssueFieldManager issueFieldManager)
           
 java.lang.String getStoryId()
           
 com.atlassian.jira.issue.fields.CustomField getStoryPointCustomField(IssueFieldManager issueFieldManager)
          Fetches the story point custom field.
 IssueField getStoryPointField(IssueFieldManager issueFieldManager)
           
 java.lang.String getSubId()
           
 java.util.Set<WatchedField> getWatchedFieldsFor(com.atlassian.jira.project.Project project, IssueFieldManager issueFieldManager)
           
 void init(IssueFieldManager issueFieldManager)
           
 boolean isEpic(com.atlassian.jira.issue.issuetype.IssueType type)
           
 boolean isEpicLabel(com.atlassian.jira.issue.fields.CustomField field, IssueFieldManager fieldManager)
           
 void save()
           
 void validate(com.atlassian.jira.project.Project project)
           
 
Methods inherited from class com.pyxis.greenhopper.jira.configurations.AbstractDefaultConfiguration
addNonWorkingDay, allowCardCreation, getAllAvailableFieldsFor, getAllAvailableFlagValues, getCardColor, getDBLayoutKey, getDefaultConfiguration, getEntityId, getFallBackConfiguration, getLayout, getLinkType, getNonWorkingDays, getNonWorkingDays2, getPropertyKey, getStoredField, getTaskBoardConfiguration, getWatchedFieldsFor, isAutoAssignOn, isCardBgColored, isListAlt, isPermissionScheduled, removeNonWorkingDay, setCornerField, setFlagField, useAggregation
 
Methods inherited from class com.pyxis.greenhopper.jira.configurations.AbstractConfiguration
addWatchedField, getAllLinks, getAllWorkflowStatuses, getCanRankPermission, getCanSchedulePermission, getConfigNonWorkingDays, getConfigNonWorkingDays2, getSortedFields, getStoredFields, getUniqueIdentifier, isEditable, isHidden, removeCorner, removeLayout, removeStoredField, removeWatchedField, setAllowCardCreation, setAutoAssign, setCardColor, setCornerField, setDefaultCardColor, setLayout, setLinkType, setListAlt, setPermissionScheduled, setUseAggregation, storeField, toggleCardBgColored
 
Methods inherited from class com.pyxis.greenhopper.jira.configurations.AbstractPersisted
delete, getData, getDataStorage, getGreenHopperService, getId, loadFromDatabase, setName, validateName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.pyxis.greenhopper.jira.configurations.Persisted
delete, getData, getId, setName, validateName
 

Field Detail

NAME

public static final java.lang.String NAME
See Also:
Constant Field Values

ID

public static final java.lang.String ID
See Also:
Constant Field Values

FLAGGING_FIELD

public static final java.lang.String FLAGGING_FIELD
See Also:
Constant Field Values

FLAGGING_FIELD_DESC

public static final java.lang.String FLAGGING_FIELD_DESC
See Also:
Constant Field Values

BV_FIELD

public static final java.lang.String BV_FIELD
See Also:
Constant Field Values

BV_FIELD_DESC

public static final java.lang.String BV_FIELD_DESC
See Also:
Constant Field Values

SP_FIELD

public static final java.lang.String SP_FIELD
See Also:
Constant Field Values

SP_FIELD_DESC

public static final java.lang.String SP_FIELD_DESC
See Also:
Constant Field Values

LABEL_FIELD

public static final java.lang.String LABEL_FIELD
See Also:
Constant Field Values

LABEL_FIELD_DESC

public static final java.lang.String LABEL_FIELD_DESC
See Also:
Constant Field Values

EPIC_KEY

public static final java.lang.String EPIC_KEY
See Also:
Constant Field Values

EPIC_DESC_KEY

public static final java.lang.String EPIC_DESC_KEY
See Also:
Constant Field Values

STORY_KEY

public static final java.lang.String STORY_KEY
See Also:
Constant Field Values

STORY_DESC_KEY

public static final java.lang.String STORY_DESC_KEY
See Also:
Constant Field Values

SUBTASK_KEY

public static final java.lang.String SUBTASK_KEY
See Also:
Constant Field Values

SUBTASK_DESC_KEY

public static final java.lang.String SUBTASK_DESC_KEY
See Also:
Constant Field Values

FLAGGING_VALUE

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

ScrumDefaultConfiguration

public ScrumDefaultConfiguration()
Method Detail

init

public void init(IssueFieldManager issueFieldManager)

getEpicId

public java.lang.String getEpicId()

isEpic

public boolean isEpic(com.atlassian.jira.issue.issuetype.IssueType type)

isEpicLabel

public boolean isEpicLabel(com.atlassian.jira.issue.fields.CustomField field,
                           IssueFieldManager fieldManager)

getStoryId

public java.lang.String getStoryId()

getSubId

public java.lang.String getSubId()

getAllIssueTypes

public java.util.Collection<com.atlassian.jira.issue.issuetype.IssueType> getAllIssueTypes()

getAllIssueTypeIds

public java.util.Collection<java.lang.String> getAllIssueTypeIds()

getStoryPointField

public IssueField getStoryPointField(IssueFieldManager issueFieldManager)

getStoryPointCustomField

public com.atlassian.jira.issue.fields.CustomField getStoryPointCustomField(IssueFieldManager issueFieldManager)
Fetches the story point custom field.


getBusinessValueField

public IssueField getBusinessValueField(IssueFieldManager issueFieldManager)

getFlagField

public FlagField getFlagField(IssueFieldManager issueFieldManager)
Specified by:
getFlagField in interface Configuration
Overrides:
getFlagField in class AbstractDefaultConfiguration

getLabelField

public IssueField getLabelField(IssueFieldManager issueFieldManager)

getWatchedFieldsFor

public java.util.Set<WatchedField> getWatchedFieldsFor(com.atlassian.jira.project.Project project,
                                                       IssueFieldManager issueFieldManager)
Specified by:
getWatchedFieldsFor in interface Configuration
Overrides:
getWatchedFieldsFor in class AbstractDefaultConfiguration

addProject

public void addProject(com.atlassian.jira.project.Project project)
Specified by:
addProject in interface Configuration
Overrides:
addProject in class AbstractDefaultConfiguration

validate

public void validate(com.atlassian.jira.project.Project project)
              throws GreenHopperException
Specified by:
validate in interface Configuration
Overrides:
validate in class AbstractDefaultConfiguration
Throws:
GreenHopperException

getName

public java.lang.String getName()
Specified by:
getName in interface Persisted
Overrides:
getName in class AbstractConfiguration

getRankingFields

public java.util.Set<IssueField> getRankingFields(IssueFieldManager issueFieldManager)
Specified by:
getRankingFields in interface Configuration
Overrides:
getRankingFields in class AbstractConfiguration

getCardColors

public java.util.Map<java.lang.String,java.lang.String> getCardColors()
Specified by:
getCardColors in interface Configuration
Overrides:
getCardColors in class AbstractConfiguration

getCornerFieldIds

public java.util.Map<java.lang.String,java.lang.String> getCornerFieldIds(IssueFieldManager issueFieldManager)
Specified by:
getCornerFieldIds in interface Configuration
Overrides:
getCornerFieldIds in class AbstractConfiguration

save

public void save()
Specified by:
save in interface Persisted
Overrides:
save in class AbstractPersisted

getDefaultLayout

protected DefaultLayout getDefaultLayout()
Specified by:
getDefaultLayout in class AbstractDefaultConfiguration

getDBPrefix

protected java.lang.String getDBPrefix()
Overrides:
getDBPrefix in class AbstractPersisted

createAndPersistField

protected IssueField createAndPersistField(java.lang.String key,
                                           java.lang.String type,
                                           java.lang.String searcher,
                                           java.lang.String[] issueTypes,
                                           IssueFieldManager issueFieldManager)
Overrides:
createAndPersistField in class AbstractPersisted


Copyright © 2007-2014 Atlassian. All Rights Reserved.