|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hudsonci.plugins.blacklist.internal.BlacklistManagerImpl
@Named @Singleton public class BlacklistManagerImpl
Default BlacklistManager implementation that uses the classes
simple name to locate individual features.
Logs operations and provides additional methods for testing and
debugging.
| Constructor Summary | |
|---|---|
BlacklistManagerImpl(List<BlacklistedFeature> features,
org.hudsonci.plugins.blacklist.internal.FeatureIndexer indexer)
|
|
| Method Summary | |
|---|---|
void |
disableAllFeatures()
Disables all blacklisted features. |
void |
disableFeature(String featureName)
Disables a specific blacklisted feature. |
void |
enableAllFeatures()
Enables all blacklisted features. |
void |
enableFeature(String featureName)
Enables a specific blacklisted feature. |
Collection<BlacklistedFeature> |
getManagedFeatures()
Retrieves the features managed by this class. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@Inject
public BlacklistManagerImpl(List<BlacklistedFeature> features,
org.hudsonci.plugins.blacklist.internal.FeatureIndexer indexer)
| Method Detail |
|---|
public Collection<BlacklistedFeature> getManagedFeatures()
public void disableAllFeatures()
BlacklistManager
disableAllFeatures in interface BlacklistManagerpublic void enableAllFeatures()
BlacklistManager
enableAllFeatures in interface BlacklistManagerpublic void disableFeature(String featureName)
BlacklistManager
disableFeature in interface BlacklistManagerfeatureName - the name for a feature, usually the classes simple name.public void enableFeature(String featureName)
BlacklistManager
enableFeature in interface BlacklistManagerfeatureName - the name for a feature, usually the classes simple name.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||