com.atlassian.greenhopper.service.configuration
Interface GreenHopperSettingsService

All Known Implementing Classes:
GreenHopperSettingsServiceImpl

public interface GreenHopperSettingsService

This service provides general system wide GreenHopper configuration. Currently this passes through to GHConfiguration


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()
           
 int getQueryResultLimit()
          Get the query result limit for this instance.
 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?
 

Method Detail

getQueryResultLimit

int getQueryResultLimit()
Get the query result limit for this instance.

Returns:
the set resource limit or Integer.MAX_VALUE if not set. The returned int is guaranteed to be positive (limit > 0)

isQueryResultLimited

boolean isQueryResultLimited()
Is a query result limit set?


isHostedEnvironment

boolean isHostedEnvironment()
Is this JIRA instance hosted?


getAllBetaFeatures

java.util.List<BetaFeatures> getAllBetaFeatures()
Returns:
all the GH beta features applicable to this instance.

isBetaFeatureEnabled

boolean isBetaFeatureEnabled(BetaFeatures feature)
Is the specified beta feature enabled?

Parameters:
feature - the feature
Returns:
true if enabled; false otherwise

enableBetaFeature

void enableBetaFeature(BetaFeatures feature)
Enable the specified beta feature.

Parameters:
feature - the feature to enable

disableBetaFeature

void disableBetaFeature(BetaFeatures feature)
Disable the specified beta feature.

Parameters:
feature - the feature to disable


Copyright © 2007-2013 Atlassian. All Rights Reserved.