开发者

In Jenkins plugin developement, what is the Stapler (org.kohsuke.stapler.Stapler)?

I am trying to create a simple jenkins plug-in that will run a job but Project.doBuild() requires StaplerRequest and StaplerResponse.

What is the Stapler (org.kohsuke.stapler.Stapler), StaplerRequest(org.kohsuke.stapler.StaplerRequest), and StaplerResponse(org.kohsuke.stapler.StaplerResponse)? What开发者_JAVA技巧 do they do and how do they work?

Thanks for any help.


Check out http://stapler.kohsuke.org

Stapler is a library that "staples" your application objects to URLs, making it easier to write web applications. The core idea of Stapler is to automatically assign URLs for your objects, creating an intuitive URL hierarchy.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜