com.atlassian.confluence.setup.settings
Interface FeatureService

All Known Implementing Classes:
DefaultFeatureService

public interface FeatureService

Provides registered Features.

Since:
5.3

Method Summary
 java.util.Set<java.lang.String> getRegisteredFeatures()
           
 void verifyFeature(java.lang.String featureKey)
          Verify that a featureKey is registered
 void verifyFeatures(java.util.Set<java.lang.String> featureKeys)
          Verify that all keys in a set are registered.
 

Method Detail

getRegisteredFeatures

java.util.Set<java.lang.String> getRegisteredFeatures()
Returns:
a collection of features known to the system.

verifyFeature

void verifyFeature(java.lang.String featureKey)
                   throws UnknownFeatureException
Verify that a featureKey is registered

Parameters:
featureKey -
Throws:
UnknownFeatureException

verifyFeatures

void verifyFeatures(java.util.Set<java.lang.String> featureKeys)
                    throws UnknownFeatureException
Verify that all keys in a set are registered. Used temporarily for auditing existing use of Dark Features.

Parameters:
featureKeys -
Throws:
UnknownFeatureException


Copyright © 2003-2014 Atlassian. All Rights Reserved.