@Extension public class UsageStatistics extends PageDecorator
| Modifier and Type | Class and Description |
|---|---|
static class |
UsageStatistics.CombinedCipherInputStream
The opposite of the
UsageStatistics.CombinedCipherOutputStream. |
static class |
UsageStatistics.CombinedCipherOutputStream
Asymmetric cipher is slow and in case of Sun RSA implementation it can only encyrypt the first block.
|
Descriptor.FormException, Descriptor.PropertyType, Descriptor.SelfExtensionPoint.LegacyInstancesAreScopedToHudson| Modifier and Type | Field and Description |
|---|---|
static boolean |
DISABLED |
ALLclazz| Constructor and Description |
|---|
UsageStatistics() |
UsageStatistics(String keyImage)
Creates an instance with a specific public key image.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json)
Invoked when the global configuration page is submitted.
|
String |
getStatData()
Gets the encrypted usage stat data to be sent to the Hudson server.
|
boolean |
isDue()
Returns true if it's time for us to check for new version.
|
all, getDescriptor, getUrladdHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMappublic UsageStatistics()
public UsageStatistics(String keyImage)
public boolean isDue()
public String getStatData() throws IOException
IOExceptionpublic boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json)
throws Descriptor.FormException
Descriptorconfigure in class Descriptor<PageDecorator>json - The JSON object that captures the configuration data for this Descriptor.
See http://wiki.jenkins-ci.org/display/JENKINS/Structured+Form+SubmissionDescriptor.FormExceptionCopyright © 2019. All rights reserved.