public static class GoogleRobotMetadataCredentials.Descriptor extends AbstractGoogleRobotCredentialsDescriptor
com.cloudbees.plugins.credentials.CredentialsDescriptor.EnhancedCheckMethod
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
clazz
Modifier and Type | Method and Description |
---|---|
String |
defaultProject()
When we are running on GCE, we should be able to pre-populate the
projectId field
with the "right" project id. |
List<String> |
defaultScopes()
When we are running on GCE, we should be able to pre-populate the
projectId field
with the "right" project id. |
String |
getDisplayName() |
GoogleRobotMetadataCredentialsModule |
getModule()
The module to use for instantiating depended upon resources
|
static GoogleRobotMetadataCredentials.Descriptor |
metadataDescriptor()
This factory method determines whether the host machine has an associated metadata server,
and if so registers the metadata-based robot credential.
|
doCheckProjectId
calcAutoCompleteSettings, calcFillSettings, doFillScopeItems, findContextInPath, findContextInPath, getCheckMethod, getCredentialsPage, getIconClassName, isApplicable, isScopeRelevant, isScopeRelevant, isScopeRelevant, isScopeRelevant, isScopeRelevant, isScopeRelevant, lookupContext, unwrapContext
addHelpFileRedirect, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, 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
@Extension @Nullable public static GoogleRobotMetadataCredentials.Descriptor metadataDescriptor() throws IOException
IOException
public String getDisplayName()
getDisplayName
in class Descriptor<com.cloudbees.plugins.credentials.Credentials>
public GoogleRobotMetadataCredentialsModule getModule()
getModule
in class AbstractGoogleRobotCredentialsDescriptor
@Nullable public String defaultProject()
projectId
field
with the "right" project id.Copyright © 2016–2021. All rights reserved.