Class GrouperMcpAdminSearchDaemons
java.lang.Object
edu.internet2.middleware.grouper.ws.mcp.GrouperMcpAdminSearchDaemons
MCP admin tool for searching daemon job names in the grouper_loader_log table.
Takes a search string, splits it by whitespace, and searches for distinct
job_name values where each whitespace-delimited term matches (using LIKE with
user-supplied wildcards via prepared statement bind variables).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic com.fasterxml.jackson.databind.node.ObjectNodeexecute(com.fasterxml.jackson.databind.JsonNode arguments, GrouperMcpAuthUser authUser) execute the admin_daemon_names toolstatic com.fasterxml.jackson.databind.node.ObjectNodereturn the MCP tool definition for admin_daemon_names
-
Constructor Details
-
GrouperMcpAdminSearchDaemons
public GrouperMcpAdminSearchDaemons()
-
-
Method Details
-
toolDefinition
public static com.fasterxml.jackson.databind.node.ObjectNode toolDefinition()return the MCP tool definition for admin_daemon_names- Returns:
- the tool definition as a Jackson ObjectNode
-
execute
public static com.fasterxml.jackson.databind.node.ObjectNode execute(com.fasterxml.jackson.databind.JsonNode arguments, GrouperMcpAuthUser authUser) execute the admin_daemon_names tool- Parameters:
arguments- the tool arguments from the MCP requestauthUser- the authenticated user- Returns:
- the MCP tool result
-