@Extension @Symbol(value="apiToken") public class ApiTokenPropertyConfiguration extends GlobalConfiguration implements PersistentDescriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
ExtensionPoint.LegacyInstancesAreScopedToHudson
clazz
Constructor and Description |
---|
ApiTokenPropertyConfiguration() |
Modifier and Type | Method and Description |
---|---|
static ApiTokenPropertyConfiguration |
get() |
GlobalConfigurationCategory |
getCategory()
Define the global configuration category the global config of this Descriptor is in.
|
boolean |
hasExistingConfigFile() |
boolean |
isCreationOfLegacyTokenEnabled() |
boolean |
isTokenGenerationOnCreationEnabled() |
boolean |
isUsageStatisticsEnabled() |
void |
setCreationOfLegacyTokenEnabled(boolean creationOfLegacyTokenEnabled) |
void |
setTokenGenerationOnCreationEnabled(boolean tokenGenerationOnCreationEnabled) |
void |
setUsageStatisticsEnabled(boolean usageStatisticsEnabled) |
all, configure, getDescriptor, getGlobalConfigPage
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
load
public static ApiTokenPropertyConfiguration get()
public boolean hasExistingConfigFile()
public boolean isTokenGenerationOnCreationEnabled()
public void setTokenGenerationOnCreationEnabled(boolean tokenGenerationOnCreationEnabled)
public boolean isCreationOfLegacyTokenEnabled()
public void setCreationOfLegacyTokenEnabled(boolean creationOfLegacyTokenEnabled)
public boolean isUsageStatisticsEnabled()
public void setUsageStatisticsEnabled(boolean usageStatisticsEnabled)
public GlobalConfigurationCategory getCategory()
Descriptor
getCategory
in class Descriptor<GlobalConfiguration>
Descriptor
.Copyright © 2004–2021. All rights reserved.