com.pyxis.greenhopper.gadget
Class AgileGadgetPreferences

java.lang.Object
  extended by com.pyxis.greenhopper.gadget.AgileGadgetPreferences
All Implemented Interfaces:
GHAgileGadgetPreferences
Direct Known Subclasses:
AgileGadgetTabPreferences

public class AgileGadgetPreferences
extends java.lang.Object
implements GHAgileGadgetPreferences

See GHAgileGadgetPreferences Implementation that is based on a BoardContext


Field Summary
 
Fields inherited from interface com.pyxis.greenhopper.gadget.GHAgileGadgetPreferences
STATS
 
Constructor Summary
AgileGadgetPreferences(BoardContext boardContext, java.lang.String selectedBoardId, java.lang.String contextName, java.lang.String chartType, java.lang.String fieldId, boolean forMaster, boolean showLabels, boolean showLegend, int width)
           
 
Method Summary
 boolean canSetAssignToMe()
           
 GadgetBoard getBoard()
           
 BoardContext getBoardContext()
           
 ChartContext getChartContext()
           
 java.lang.String getChartType()
           
 Context getContext()
           
 java.lang.String getContextName()
           
 java.lang.String getEndDate()
           
 int getHeight()
           
 java.lang.String getMaster()
           
 java.lang.String getName()
           
 java.lang.String getProjectOrFilterId()
           
 java.lang.String getSelectedId()
           
 java.lang.String getStartDate()
           
 java.lang.String getTitle()
           
 com.atlassian.crowd.embedded.api.User getUser()
           
 com.atlassian.jira.project.version.Version getVersion()
           
 WatchedField getWatchedField()
           
 java.lang.String getWatchedFieldId()
           
 int getWidth()
           
 boolean isAssignedOn()
           
 boolean isForMaster()
           
 boolean isMaster()
           
 boolean showLabels()
           
 boolean showLegend()
           
 java.lang.String toQueryString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AgileGadgetPreferences

public AgileGadgetPreferences(BoardContext boardContext,
                              java.lang.String selectedBoardId,
                              java.lang.String contextName,
                              java.lang.String chartType,
                              java.lang.String fieldId,
                              boolean forMaster,
                              boolean showLabels,
                              boolean showLegend,
                              int width)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface GHAgileGadgetPreferences

getTitle

public java.lang.String getTitle()
Specified by:
getTitle in interface GHAgileGadgetPreferences

getBoardContext

public BoardContext getBoardContext()

getProjectOrFilterId

public java.lang.String getProjectOrFilterId()
Specified by:
getProjectOrFilterId in interface GHAgileGadgetPreferences

getChartContext

public ChartContext getChartContext()
Specified by:
getChartContext in interface GHAgileGadgetPreferences

getBoard

public GadgetBoard getBoard()
Specified by:
getBoard in interface GHAgileGadgetPreferences

getMaster

public java.lang.String getMaster()
Specified by:
getMaster in interface GHAgileGadgetPreferences

getVersion

public com.atlassian.jira.project.version.Version getVersion()
Specified by:
getVersion in interface GHAgileGadgetPreferences

getSelectedId

public java.lang.String getSelectedId()
Specified by:
getSelectedId in interface GHAgileGadgetPreferences

getUser

public com.atlassian.crowd.embedded.api.User getUser()
Specified by:
getUser in interface GHAgileGadgetPreferences

getContext

public Context getContext()
Specified by:
getContext in interface GHAgileGadgetPreferences

getContextName

public java.lang.String getContextName()
Specified by:
getContextName in interface GHAgileGadgetPreferences

isAssignedOn

public boolean isAssignedOn()
Specified by:
isAssignedOn in interface GHAgileGadgetPreferences

canSetAssignToMe

public boolean canSetAssignToMe()
Specified by:
canSetAssignToMe in interface GHAgileGadgetPreferences

getChartType

public java.lang.String getChartType()
Specified by:
getChartType in interface GHAgileGadgetPreferences

getWatchedField

public WatchedField getWatchedField()
Specified by:
getWatchedField in interface GHAgileGadgetPreferences

getWatchedFieldId

public java.lang.String getWatchedFieldId()
Specified by:
getWatchedFieldId in interface GHAgileGadgetPreferences

getEndDate

public java.lang.String getEndDate()
Specified by:
getEndDate in interface GHAgileGadgetPreferences

getStartDate

public java.lang.String getStartDate()
Specified by:
getStartDate in interface GHAgileGadgetPreferences

showLabels

public boolean showLabels()
Specified by:
showLabels in interface GHAgileGadgetPreferences

showLegend

public boolean showLegend()
Specified by:
showLegend in interface GHAgileGadgetPreferences

isForMaster

public boolean isForMaster()
Specified by:
isForMaster in interface GHAgileGadgetPreferences

isMaster

public boolean isMaster()
Specified by:
isMaster in interface GHAgileGadgetPreferences

getWidth

public int getWidth()
Specified by:
getWidth in interface GHAgileGadgetPreferences

getHeight

public int getHeight()
Specified by:
getHeight in interface GHAgileGadgetPreferences

toQueryString

public java.lang.String toQueryString()
Specified by:
toQueryString in interface GHAgileGadgetPreferences


Copyright © 2007-2012 Atlassian. All Rights Reserved.