ff4j 一些高级概念
feature groups 通过feature groups 我们可以将同一个release 实例的feature 聚合起来,灵活管理 参考配置 <? xml version = "1.0" encoding = "UTF-8" ?> < features > <!-- Sample Feature Group --> < feature - group name = "release-2.3" > < feature uid = "users-story1" enable = "false" /> < feature uid = "users-story2" enable = "false" /> < /feature-group> < feature uid = "featA" enable = "true" /> < feature uid = "featB" enable = "false" /> < /features> 代码访问 @ Test public void myGroupTest() { FF4j ff4j = new FF4j( "ff4j-groups.xml"); // Check features loaded assertEquals( 4, ff4j. getFeatures(). size()); assertTrue( ff4j.