Class DefaultMcpServer.MCPCause
java.lang.Object
hudson.model.Cause
io.jenkins.plugins.mcp.server.extensions.DefaultMcpServer.MCPCause
- Enclosing class:
DefaultMcpServer
A
Cause that indicates a Jenkins build was triggered via MCP call.
This is useful for the end user to understand that the call was trigger through this plugin's code and not some manual user intervention.
And among others, it allows plugins like ... to offer custom badges
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Cause
Cause.LegacyCodeCause, Cause.RemoteCause, Cause.UpstreamCause, Cause.UserCause, Cause.UserIdCause -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MCPCause
public MCPCause()
-
-
Method Details
-
getAddr
-
getShortDescription
- Specified by:
getShortDescriptionin classCause
-