Package 

Class GroupResource


  • @RestController()@RequestMapping(value = {"/api/ff4j/store/groups/{groupName}"}) 
    public final class GroupResource
    
                        

    Created by Paul

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final GroupServices groupServices
    • Constructor Summary

      Constructors 
      Constructor Description
      GroupResource(GroupServices groupServices)
    • Method Summary

      Modifier and Type Method Description
      final Collection<FeatureApiBean> getFeaturesByGroup(@PathVariable(value = "groupName") String groupName)
      final Unit enableGroup(@PathVariable(value = "groupName") String groupName)
      final Unit disableGroup(@PathVariable(value = "groupName") String groupName)
      final GroupServices getGroupServices()
      • Methods inherited from class org.ff4j.spring.boot.web.api.resources.GroupResource

        equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GroupResource

        GroupResource(GroupServices groupServices)
    • Method Detail

      • getFeaturesByGroup

        @GetMapping(produces = {"application/json"}) final Collection<FeatureApiBean> getFeaturesByGroup(@PathVariable(value = "groupName") String groupName)
      • enableGroup

        @PostMapping(produces = {"application/json"}, value = {"/enable"}) final Unit enableGroup(@PathVariable(value = "groupName") String groupName)
      • disableGroup

        @PostMapping(produces = {"application/json"}, value = {"/disable"}) final Unit disableGroup(@PathVariable(value = "groupName") String groupName)