public class GoogleUsageReportingPlugin
extends hudson.Plugin
This plugin intentionally does not expose configuration in the Jenkins UI. Usage reporting is intended to be nontrivial to enable within Jenkins, so that users who did not intend to send data will not accidentally do so.
Each instance of the plugin has an associated random UUID, which is used as an anonymous client identifier. The plugin configuration includes an optional hashed cloud project numeric ID; clients should never use an unhashed value, as this is sent over the wire.
Constructor and Description |
---|
GoogleUsageReportingPlugin() |
Modifier and Type | Method and Description |
---|---|
String |
getAnalyticsId() |
String |
getClientId() |
String |
getCloudProjectNumberHash() |
boolean |
getEnableReporting() |
static GoogleUsageReportingPlugin |
getInstance()
Returns the instance of this plugin created by Jenkins.
|
void |
start() |
String |
toString() |
public static GoogleUsageReportingPlugin getInstance()
public boolean getEnableReporting()
public String getAnalyticsId()
public String getCloudProjectNumberHash()
public String getClientId()
public void start() throws IOException
start
in class hudson.Plugin
IOException
Copyright © 2004-2015. All Rights Reserved.