Class InfluxDBClientWrapper

java.lang.Object
jenkinsci.plugins.influxdb.models.InfluxDBClientWrapper

public class InfluxDBClientWrapper extends Object
  • Constructor Details

    • InfluxDBClientWrapper

      public InfluxDBClientWrapper(@Nonnull String url, @Nullable String organization, @Nonnull String database, @Nullable String retentionPolicy, @Nullable com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials basicAuthCredentials, @Nullable org.jenkinsci.plugins.plaincredentials.StringCredentials tokenCredentials, boolean usingJenkinsProxy)
  • Method Details

    • getAPIVersion

      public String getAPIVersion()
    • getConnectedApiVersion

      public String getConnectedApiVersion()
      Returns which API version (v1, v2, or v3) was used to establish the connection.
      Returns:
      The API version used ("v1", "v2", or "v3")
    • writePoints

      public void writePoints(List<AbstractPoint> pointsToWrite)
    • close

      public void close()