-
- All Implemented Interfaces:
@RestController()@RequestMapping(value = {"${ff4j.api.context-path:/api/ff4j}/store/groups/{groupName}"}) public final class GroupResourceCreated by Paul
-
-
Field Summary
Fields Modifier and Type Field Description private final GroupServicesgroupServices
-
Constructor Summary
Constructors Constructor Description GroupResource(GroupServices groupServices)
-
Method Summary
Modifier and Type Method Description final GroupServicesgetGroupServices()final Collection<FeatureApiBean>getFeaturesByGroup(@PathVariable(value = "groupName") String groupName)final UnitenableGroup(@PathVariable(value = "groupName") String groupName)final UnitdisableGroup(@PathVariable(value = "groupName") String groupName)-
-
Method Detail
-
getGroupServices
final GroupServices getGroupServices()
-
getFeaturesByGroup
@GetMapping(produces = {"application/json"}) final Collection<FeatureApiBean> getFeaturesByGroup(@PathVariable(value = "groupName") String groupName)
-
enableGroup
@PostMapping(value = {"/enable"}, produces = {"application/json"}) final Unit enableGroup(@PathVariable(value = "groupName") String groupName)
-
disableGroup
@PostMapping(value = {"/disable"}, produces = {"application/json"}) final Unit disableGroup(@PathVariable(value = "groupName") String groupName)
-
-
-
-