Package net.ideahut.springboot.admin
Class AdminController
java.lang.Object
net.ideahut.springboot.admin.AdminController
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract AdminHandlernet.ideahut.springboot.object.ResultauditFields(String handler, String type, String manager) net.ideahut.springboot.object.Resultnet.ideahut.springboot.object.Resultnet.ideahut.springboot.object.Resultnet.ideahut.springboot.object.Resultnet.ideahut.springboot.object.Resultnet.ideahut.springboot.object.Resultcheck()net.ideahut.springboot.object.Resultprotected abstract DataMappernet.ideahut.springboot.object.ResultentityGrid(String manager, String entity) net.ideahut.springboot.object.ResultentityReplica(String manager, String entity, Integer total) net.ideahut.springboot.object.Resultnet.ideahut.springboot.object.Resultinfo()net.ideahut.springboot.object.ResultmanagerEntities(String manager, Integer index, Integer size, String order) net.ideahut.springboot.object.ResultmanagerInfo(String manager) net.ideahut.springboot.object.ResultmanagerInfo(String manager, String entity) net.ideahut.springboot.object.Resultmenus()net.ideahut.springboot.object.ResultredisFlushAll(String name) net.ideahut.springboot.object.ResultredisFlushAll(String name, String code) net.ideahut.springboot.object.ResultredisFlushDb(String name) net.ideahut.springboot.object.ResultredisFlushDb(String name, String code) net.ideahut.springboot.object.Resultnet.ideahut.springboot.object.ResultredisProperties(String name) net.ideahut.springboot.object.Resultreload()net.ideahut.springboot.object.Resultnet.ideahut.springboot.object.ResultschedulerAdd(String handler, String triggerId) net.ideahut.springboot.object.ResultschedulerDelete(String handler, String triggerId) net.ideahut.springboot.object.ResultschedulerGroups(String handler, Boolean isActive) net.ideahut.springboot.object.ResultschedulerMetadata(String handler) net.ideahut.springboot.object.ResultschedulerPause(String handler, String triggerId) net.ideahut.springboot.object.ResultschedulerResume(String handler, String triggerId) net.ideahut.springboot.object.ResultschedulerRunning(String handler) net.ideahut.springboot.object.ResultschedulerStart(String handler) net.ideahut.springboot.object.ResultschedulerStop(String handler) net.ideahut.springboot.object.ResultschedulerTrigger(String handler, String triggerId) net.ideahut.springboot.object.ResultschedulerTriggers(String handler, Boolean isActive, List<String> groupIds)
-
Constructor Details
-
AdminController
public AdminController()
-
-
Method Details
-
check
@GetMapping("/check") public net.ideahut.springboot.object.Result check() -
info
@GetMapping("/info") public net.ideahut.springboot.object.Result info() -
grid
-
crud
@PostMapping("/crud/{action}") public net.ideahut.springboot.object.Result crud(@PathVariable("action") String action) throws Exception - Throws:
Exception
-
reload
@GetMapping("/reload") public net.ideahut.springboot.object.Result reload() -
reload
@PostMapping("/reload") public net.ideahut.springboot.object.Result reload(@RequestParam("name") String name) throws Exception - Throws:
Exception
-
cacheInfo
-
cacheKeys
@PostMapping("/cache/keys") public net.ideahut.springboot.object.Result cacheKeys() throws Exception- Throws:
Exception
-
cacheDelete
@PostMapping("/cache/delete") public net.ideahut.springboot.object.Result cacheDelete() throws Exception- Throws:
Exception
-
cacheClear
@PostMapping("/cache/clear") public net.ideahut.springboot.object.Result cacheClear() throws Exception- Throws:
Exception
-
redisInfos
@GetMapping("/redis/infos") public net.ideahut.springboot.object.Result redisInfos() -
redisProperties
@GetMapping("/redis/properties") public net.ideahut.springboot.object.Result redisProperties(@RequestParam("name") String name) -
redisFlushDb
@GetMapping("/redis/flush/db") public net.ideahut.springboot.object.Result redisFlushDb(@RequestParam("name") String name) -
redisFlushDb
-
redisFlushAll
@GetMapping("/redis/flush/all") public net.ideahut.springboot.object.Result redisFlushAll(@RequestParam("name") String name) -
redisFlushAll
-
auditFields
@GetMapping("/audit/info") public net.ideahut.springboot.object.Result auditFields(@RequestParam("handler") String handler, @RequestParam("type") String type, @RequestParam("manager") String manager) throws Exception - Throws:
Exception
-
auditList
@PostMapping("/audit/list") public net.ideahut.springboot.object.Result auditList(@RequestParam("handler") String handler) throws Exception - Throws:
Exception
-
managerInfo
@GetMapping("/manager/info") public net.ideahut.springboot.object.Result managerInfo(@RequestParam("manager") String manager) throws Exception - Throws:
Exception
-
managerEntities
@GetMapping("/manager/entities") public net.ideahut.springboot.object.Result managerEntities(@RequestParam("manager") String manager, @RequestParam("index") Integer index, @RequestParam("size") Integer size, @RequestParam(value="order",required=false) String order) throws Exception - Throws:
Exception
-
managerInfo
@GetMapping("/manager/entity") public net.ideahut.springboot.object.Result managerInfo(@RequestParam("manager") String manager, @RequestParam("entity") String entity) throws Exception - Throws:
Exception
-
entityReplica
@GetMapping("/entity/replica") public net.ideahut.springboot.object.Result entityReplica(@RequestParam("manager") String manager, @RequestParam("entity") String entity, @RequestParam("total") Integer total) throws Exception - Throws:
Exception
-
entityGrid
@GetMapping("/entity/grid") public net.ideahut.springboot.object.Result entityGrid(@RequestParam("manager") String manager, @RequestParam("entity") String entity) throws Exception - Throws:
Exception
-
schedulerGroups
@GetMapping("/scheduler/groups") public net.ideahut.springboot.object.Result schedulerGroups(@RequestParam("handler") String handler, @RequestParam(name="isActive",required=false) Boolean isActive) throws Exception - Throws:
Exception
-
schedulerTriggers
@GetMapping("/scheduler/triggers") public net.ideahut.springboot.object.Result schedulerTriggers(@RequestParam("handler") String handler, @RequestParam(name="isActive",required=false) Boolean isActive, @RequestParam(name="groupId",required=false) List<String> groupIds) throws Exception - Throws:
Exception
-
schedulerStart
@PostMapping("/scheduler/start") public net.ideahut.springboot.object.Result schedulerStart(@RequestParam("handler") String handler) throws Exception - Throws:
Exception
-
schedulerStop
@PostMapping("/scheduler/stop") public net.ideahut.springboot.object.Result schedulerStop(@RequestParam("handler") String handler) throws Exception - Throws:
Exception
-
schedulerRunning
@GetMapping("/scheduler/running") public net.ideahut.springboot.object.Result schedulerRunning(@RequestParam("handler") String handler) throws Exception - Throws:
Exception
-
schedulerMetadata
@GetMapping("/scheduler/metadata") public net.ideahut.springboot.object.Result schedulerMetadata(@RequestParam("handler") String handler) throws Exception - Throws:
Exception
-
schedulerPause
@PostMapping("/scheduler/pause") public net.ideahut.springboot.object.Result schedulerPause(@RequestParam("handler") String handler, @RequestParam("triggerId") String triggerId) throws Exception - Throws:
Exception
-
schedulerResume
@PostMapping("/scheduler/resume") public net.ideahut.springboot.object.Result schedulerResume(@RequestParam("handler") String handler, @RequestParam("triggerId") String triggerId) throws Exception - Throws:
Exception
-
schedulerTrigger
@PostMapping("/scheduler/trigger") public net.ideahut.springboot.object.Result schedulerTrigger(@RequestParam("handler") String handler, @RequestParam("triggerId") String triggerId) throws Exception - Throws:
Exception
-
schedulerDelete
@PostMapping("/scheduler/delete") public net.ideahut.springboot.object.Result schedulerDelete(@RequestParam("handler") String handler, @RequestParam("triggerId") String triggerId) throws Exception - Throws:
Exception
-
schedulerAdd
@PostMapping("/scheduler/add") public net.ideahut.springboot.object.Result schedulerAdd(@RequestParam("handler") String handler, @RequestParam("triggerId") String triggerId) throws Exception - Throws:
Exception
-
adminHandler
-
dataMapper
-