Tip: Use constants for features names instead of using Strings. That makes it easier to remove one component when no more needed. Set up the dark launching by providing a list of disabled feature or provide a comma separated list: DarkLaunchingDisabledFeatures darkLaunchingDisabledFeatures = new DarkLaunchingDisabledFeatures(); darkLaunchingDisabledFeatures.setDisabledFeatures("FEA_DIS_1,FEA_DIS_2"); Then, you can check if one or many features are enabled or disabled: darkLaunchingDisabledFeatures.isAllFeaturesEnabled("FEA_ENA_1", "FEA_DIS_2");@author Simon Levesque
|
|
|
|
|
|