Class GrouperMcpAdminGetDaemonJobs
java.lang.Object
edu.internet2.middleware.grouper.ws.mcp.GrouperMcpAdminGetDaemonJobs
MCP admin tool for retrieving recent daemon job information from the
grouper_loader_log table. Returns useful columns (but NOT job_message)
for the most recent 100 rows matching the optional filters.
The user can filter by job_name and/or status. If only status is
provided (without job_name), that is fine.
-
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_logs toolstatic com.fasterxml.jackson.databind.node.ObjectNodereturn the MCP tool definition for admin_daemon_logs
-
Constructor Details
-
GrouperMcpAdminGetDaemonJobs
public GrouperMcpAdminGetDaemonJobs()
-
-
Method Details
-
toolDefinition
public static com.fasterxml.jackson.databind.node.ObjectNode toolDefinition()return the MCP tool definition for admin_daemon_logs- 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_logs tool- Parameters:
arguments- the tool arguments from the MCP requestauthUser- the authenticated user- Returns:
- the MCP tool result
-