com.atlassian.bitbucket.server.FeatureManager |
Provides access to bitbucket.properties
flags for enabling/disabling various features
.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
feature | the feature to check |
---|
true
if the feature is available for the current license type; otherwise false
feature | the feature to check |
---|
true
if the feature is available and enabled; otherwise, false
feature | the feature to check |
---|---|
defaultValue | the value to return if no property has been defined for the feature |
true
if the feature is available and enabled, false
if the feature is not available or
disabled; otherwise defaultValue