|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.greenhopper.service.configuration.GreenHopperSettingsServiceImpl
@Service public class GreenHopperSettingsServiceImpl
This service provides general system wide GreenHopper configuration.
Currently this passes through to GHConfiguration
Constructor Summary | |
---|---|
GreenHopperSettingsServiceImpl()
|
Method Summary | |
---|---|
void |
disableBetaFeature(BetaFeatures feature)
Disable the specified beta feature. |
void |
enableBetaFeature(BetaFeatures feature)
Enable the specified beta feature. |
java.util.List<BetaFeatures> |
getAllBetaFeatures()
|
boolean |
getPreviousAnalyticsPreference()
Retrieve the previously set Analytics preference. |
int |
getQueryResultLimit()
Get the query result limit for this instance. |
boolean |
isAnalyticsEnabled()
|
boolean |
isBetaFeatureEnabled(BetaFeatures feature)
Is the specified beta feature enabled? |
boolean |
isHostedEnvironment()
Is this JIRA instance hosted? |
boolean |
isQueryResultLimited()
Is a query result limit set? |
void |
setPreviousAnalyticsPreference(boolean wasEnabled)
Store a value to reflect the previously set Analytics preference. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GreenHopperSettingsServiceImpl()
Method Detail |
---|
public int getQueryResultLimit()
GreenHopperSettingsService
getQueryResultLimit
in interface GreenHopperSettingsService
public boolean isQueryResultLimited()
GreenHopperSettingsService
isQueryResultLimited
in interface GreenHopperSettingsService
public boolean isHostedEnvironment()
GreenHopperSettingsService
isHostedEnvironment
in interface GreenHopperSettingsService
public java.util.List<BetaFeatures> getAllBetaFeatures()
getAllBetaFeatures
in interface GreenHopperSettingsService
public boolean isBetaFeatureEnabled(BetaFeatures feature)
GreenHopperSettingsService
isBetaFeatureEnabled
in interface GreenHopperSettingsService
feature
- the feature
public void enableBetaFeature(BetaFeatures feature)
GreenHopperSettingsService
enableBetaFeature
in interface GreenHopperSettingsService
feature
- the feature to enablepublic void disableBetaFeature(BetaFeatures feature)
GreenHopperSettingsService
disableBetaFeature
in interface GreenHopperSettingsService
feature
- the feature to disablepublic void setPreviousAnalyticsPreference(boolean wasEnabled)
GreenHopperSettingsService
setPreviousAnalyticsPreference
in interface GreenHopperSettingsService
wasEnabled
- whether the previous value was true or false.public boolean getPreviousAnalyticsPreference()
GreenHopperSettingsService
getPreviousAnalyticsPreference
in interface GreenHopperSettingsService
public boolean isAnalyticsEnabled()
isAnalyticsEnabled
in interface GreenHopperAnalyticsSettingsSupplier
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |