Package hudson.plugins.timestamper.api
Class TimestamperAPI
- java.lang.Object
-
- hudson.plugins.timestamper.api.TimestamperAPI
-
public class TimestamperAPI extends Object
Timestamper API intended for use by other plug-ins.- Author:
- Steven G. Brown
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TimestamperAPI
get()
Get access to the API.BufferedReader
read(Run<?,?> build, String query)
Read time-stamps for the given build.
-
-
-
Method Detail
-
get
public static TimestamperAPI get()
Get access to the API.- Returns:
- the Timestamper API
- Since:
- Timestamper 1.8
-
read
public BufferedReader read(Run<?,?> build, String query)
Read time-stamps for the given build. A query string can be provided in the same format as the "/timestamps" URL. See the wiki for more information.- Parameters:
build
- the build to inspectquery
- the query string- Returns:
- a
BufferedReader
- Since:
- Timestamper 1.8
-
-