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 Details

    • 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 inspect
      query - the query string
      Returns:
      a BufferedReader
      Since:
      Timestamper 1.8