A C D E F G H I J K L M N P R S T U W _
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractGoogleRobotCredentialsDescriptor(Class<? extends GoogleRobotCredentials>) - Constructor for class com.google.jenkins.plugins.credentials.oauth.GoogleRobotCredentials.AbstractGoogleRobotCredentialsDescriptor
- AbstractGoogleRobotCredentialsDescriptor(Class<? extends GoogleRobotCredentials>, GoogleRobotCredentialsModule) - Constructor for class com.google.jenkins.plugins.credentials.oauth.GoogleRobotCredentials.AbstractGoogleRobotCredentialsDescriptor
- AccountIdNotSetException() - Constructor for exception com.google.jenkins.plugins.credentials.oauth.GoogleRobotPrivateKeyCredentials.AccountIdNotSetException
C
- call() - Method in class com.google.jenkins.plugins.util.RequestCallable
- canRetry() - Method in class com.google.jenkins.plugins.util.RequestCallable
- com.google.jenkins.plugins.credentials.oauth - package com.google.jenkins.plugins.credentials.oauth
-
This package implements Jenkins plugins providing Google-specific OAuth2 Credentials, Domain Requirements and Specifications.
- com.google.jenkins.plugins.util - package com.google.jenkins.plugins.util
- ConflictException - Exception in com.google.jenkins.plugins.util
-
This exception is used to wrap and propagate 409 (Conflict) HTTP exceptions up the stack.
- ConflictException() - Constructor for exception com.google.jenkins.plugins.util.ConflictException
- ConflictException(Throwable) - Constructor for exception com.google.jenkins.plugins.util.ConflictException
- createKeyFile(String, String) - Static method in class com.google.jenkins.plugins.credentials.oauth.KeyUtils
-
Deprecated.Creates a file with the given prefix/suffix in a standard Google auth directory, and sets the permissions of the file to owner-only read/write.
- CredentialsListBoxModel(GoogleOAuth2ScopeRequirement) - Constructor for class com.google.jenkins.plugins.credentials.oauth.GoogleRobotCredentials.CredentialsListBoxModel
D
- Default() - Constructor for class com.google.jenkins.plugins.util.Executor.Default
- Default() - Constructor for class com.google.jenkins.plugins.util.MetadataReader.Default
- Default(int, boolean) - Constructor for class com.google.jenkins.plugins.util.Executor.Default
- Default(HttpRequestFactory) - Constructor for class com.google.jenkins.plugins.util.MetadataReader.Default
- defaultProject() - Method in class com.google.jenkins.plugins.credentials.oauth.GoogleRobotMetadataCredentials.Descriptor
-
When we are running on GCE, we should be able to pre-populate the
projectId
field with the "right" project id. - defaultScopes() - Method in class com.google.jenkins.plugins.credentials.oauth.GoogleRobotMetadataCredentials.Descriptor
-
When we are running on GCE, we should be able to pre-populate the
projectId
field with the "right" project id. - Descriptor() - Constructor for class com.google.jenkins.plugins.credentials.oauth.GoogleRobotPrivateKeyCredentials.Descriptor
- Descriptor() - Constructor for class com.google.jenkins.plugins.credentials.oauth.ServiceAccountConfig.Descriptor
- DescriptorImpl() - Constructor for class com.google.jenkins.plugins.credentials.oauth.GoogleOAuth2ScopeSpecification.DescriptorImpl
- DescriptorImpl() - Constructor for class com.google.jenkins.plugins.credentials.oauth.JsonServiceAccountConfig.DescriptorImpl
- DescriptorImpl() - Constructor for class com.google.jenkins.plugins.credentials.oauth.P12ServiceAccountConfig.DescriptorImpl
- Details() - Constructor for class com.google.jenkins.plugins.credentials.oauth.LegacyJsonKey.Details
-
Deprecated.
- doCheckEmailAddress(String) - Method in class com.google.jenkins.plugins.credentials.oauth.P12ServiceAccountConfig.DescriptorImpl
- doCheckProjectId(String) - Method in class com.google.jenkins.plugins.credentials.oauth.GoogleRobotCredentials.AbstractGoogleRobotCredentialsDescriptor
-
Validate project-id entries
E
- equals(Object) - Method in class com.google.jenkins.plugins.credentials.oauth.GoogleRobotCredentials.CredentialsListBoxModel
- execute(AbstractGoogleJsonClientRequest<T>) - Method in class com.google.jenkins.plugins.util.Executor
-
Executes the request, returning a response of the appropriate type.
- execute(AbstractGoogleJsonClientRequest<T>) - Method in class com.google.jenkins.plugins.util.MockExecutor
-
Executes the request, returning a response of the appropriate type.
- execute(RequestCallable<T>) - Method in class com.google.jenkins.plugins.util.Executor.Default
-
Executes the request, returning a response of the appropriate type.
- execute(RequestCallable<T>) - Method in class com.google.jenkins.plugins.util.Executor
-
Executes the request, returning a response of the appropriate type.
- execute(RequestCallable<T>) - Method in class com.google.jenkins.plugins.util.MockExecutor
-
Executes the request, returning a response of the appropriate type.
- Executor - Class in com.google.jenkins.plugins.util
-
Interface for a class that executes requests on behalf of a Json API client.
- Executor() - Constructor for class com.google.jenkins.plugins.util.Executor
- Executor_HttpError() - Static method in class com.google.jenkins.plugins.util.Messages
-
Key
Executor.HttpError
:RPC failed on http response exception
. - Executor_TimeoutError() - Static method in class com.google.jenkins.plugins.util.Messages
-
Key
Executor.TimeoutError
:RPC failed on socket timeout
. - Executor.Default - Class in com.google.jenkins.plugins.util
-
A default, failure-tolerant implementation of the
Executor
class. - ExecutorException - Exception in com.google.jenkins.plugins.util
-
This base exception class is used to wrap and propagate HTTP exceptions for specific status codes up the stack.
- ExecutorException() - Constructor for exception com.google.jenkins.plugins.util.ExecutorException
- ExecutorException(Throwable) - Constructor for exception com.google.jenkins.plugins.util.ExecutorException
F
- ForbiddenException - Exception in com.google.jenkins.plugins.util
-
This exception is used to wrap and propagate 403 (Forbidden) HTTP exceptions up the stack.
- ForbiddenException() - Constructor for exception com.google.jenkins.plugins.util.ForbiddenException
- ForbiddenException(Throwable) - Constructor for exception com.google.jenkins.plugins.util.ForbiddenException
- forRemote(GoogleOAuth2ScopeRequirement) - Method in class com.google.jenkins.plugins.credentials.oauth.GoogleRobotCredentials
-
Retrieve a version of the credential that can be used on a remote machine.
- from(AbstractGoogleJsonClientRequest<R>) - Static method in class com.google.jenkins.plugins.util.RequestCallable
G
- getAccessToken(GoogleOAuth2ScopeRequirement) - Method in class com.google.jenkins.plugins.credentials.oauth.GoogleRobotCredentials
- getAccountId() - Method in class com.google.jenkins.plugins.credentials.oauth.JsonServiceAccountConfig
-
In this context the service account id is represented by the email address for that service account, which should be contained in the JSON key.
- getAccountId() - Method in class com.google.jenkins.plugins.credentials.oauth.P12ServiceAccountConfig
- getAccountId() - Method in class com.google.jenkins.plugins.credentials.oauth.ServiceAccountConfig
- getById(String) - Static method in class com.google.jenkins.plugins.credentials.oauth.GoogleRobotCredentials
-
Retrieves the
GoogleRobotCredentials
identified byid
. - getClientEmail() - Method in class com.google.jenkins.plugins.credentials.oauth.JsonKey
- getClientEmail() - Method in class com.google.jenkins.plugins.credentials.oauth.LegacyJsonKey.Details
-
Deprecated.Returns the client email.
- getCredentialsListBox(Class<?>) - Static method in class com.google.jenkins.plugins.credentials.oauth.GoogleRobotCredentials
-
Helper utility for populating a jelly list box with matching
GoogleRobotCredentials
to avoid listing credentials that avoids surfacing those with insufficient permissions. - getDescriptor() - Method in class com.google.jenkins.plugins.credentials.oauth.GoogleRobotCredentials
- getDescriptor() - Method in class com.google.jenkins.plugins.credentials.oauth.GoogleRobotMetadataCredentials
- getDescriptor() - Method in class com.google.jenkins.plugins.credentials.oauth.JsonServiceAccountConfig
- getDescriptor() - Method in class com.google.jenkins.plugins.credentials.oauth.P12ServiceAccountConfig
- getDisplayName() - Method in class com.google.jenkins.plugins.credentials.oauth.GoogleOAuth2ScopeSpecification.DescriptorImpl
- getDisplayName() - Method in class com.google.jenkins.plugins.credentials.oauth.GoogleRobotMetadataCredentials.Descriptor
- getDisplayName() - Method in class com.google.jenkins.plugins.credentials.oauth.GoogleRobotPrivateKeyCredentials.Descriptor
- getDisplayName() - Method in class com.google.jenkins.plugins.credentials.oauth.JsonServiceAccountConfig.DescriptorImpl
- getDisplayName() - Method in class com.google.jenkins.plugins.credentials.oauth.P12ServiceAccountConfig.DescriptorImpl
- getEmailAddress() - Method in class com.google.jenkins.plugins.credentials.oauth.P12ServiceAccountConfig
- getFilename() - Method in class com.google.jenkins.plugins.credentials.oauth.JsonServiceAccountConfig
- getFilename() - Method in class com.google.jenkins.plugins.credentials.oauth.P12ServiceAccountConfig
- getGoogleCredential(GoogleOAuth2ScopeRequirement) - Method in interface com.google.jenkins.plugins.credentials.oauth.GoogleOAuth2Credentials
-
Fetches a Credential for the set of OAuth 2.0 scopes required.
- getGoogleCredential(GoogleOAuth2ScopeRequirement) - Method in class com.google.jenkins.plugins.credentials.oauth.GoogleRobotMetadataCredentials
-
Fetches a Credential for the set of OAuth 2.0 scopes required.
- getGoogleCredential(GoogleOAuth2ScopeRequirement) - Method in class com.google.jenkins.plugins.credentials.oauth.GoogleRobotPrivateKeyCredentials
- getHelpFile() - Static method in class com.google.jenkins.plugins.credentials.oauth.GoogleRobotPrivateKeyCredentials
-
Used for populating the help file on the
<a:credentials .../>
tag. - getHttpTransport() - Method in class com.google.jenkins.plugins.credentials.oauth.GoogleRobotCredentialsModule
-
The HttpTransport to use for credential related requests.
- getJsonFactory() - Method in class com.google.jenkins.plugins.credentials.oauth.GoogleRobotCredentialsModule
-
The HttpTransport to use for credential related requests.
- getJsonKeyFile() - Method in class com.google.jenkins.plugins.credentials.oauth.JsonServiceAccountConfig
-
Deprecated.
- getJsonKeyFileUpload() - Method in class com.google.jenkins.plugins.credentials.oauth.JsonServiceAccountConfig
-
Deprecated.
- getMetadataReader() - Method in class com.google.jenkins.plugins.credentials.oauth.GoogleRobotMetadataCredentialsModule
-
Retrieve a MetadataReader for accessing stuff encoded in the instance metadata.
- getModule() - Method in class com.google.jenkins.plugins.credentials.oauth.GoogleRobotCredentials.AbstractGoogleRobotCredentialsDescriptor
-
The module to use for instantiating depended upon resources
- getModule() - Method in class com.google.jenkins.plugins.credentials.oauth.GoogleRobotCredentials
-
Fetch the module used for instantiating the dependencies of credentials
- getModule() - Method in class com.google.jenkins.plugins.credentials.oauth.GoogleRobotMetadataCredentials.Descriptor
-
The module to use for instantiating depended upon resources
- getModule() - Method in class com.google.jenkins.plugins.credentials.oauth.GoogleRobotMetadataCredentials
-
Fetch the module used for instantiating the dependencies of credentials
- getName() - Method in class com.google.jenkins.plugins.util.NameValuePair
-
Fetches the name
- getName(GoogleRobotCredentials) - Method in class com.google.jenkins.plugins.credentials.oauth.GoogleRobotNameProvider
- getP12KeyFile() - Method in class com.google.jenkins.plugins.credentials.oauth.P12ServiceAccountConfig
-
Deprecated.
- getP12KeyFileUpload() - Method in class com.google.jenkins.plugins.credentials.oauth.P12ServiceAccountConfig
-
Deprecated.
- getPrivateKey() - Method in class com.google.jenkins.plugins.credentials.oauth.JsonKey
- getPrivateKey() - Method in class com.google.jenkins.plugins.credentials.oauth.JsonServiceAccountConfig
- getPrivateKey() - Method in class com.google.jenkins.plugins.credentials.oauth.P12ServiceAccountConfig
- getPrivateKey() - Method in class com.google.jenkins.plugins.credentials.oauth.ServiceAccountConfig
- getProjectId() - Method in class com.google.jenkins.plugins.credentials.oauth.GoogleRobotCredentials
-
Retrieve the project id for this credential
- getScopes() - Method in class com.google.jenkins.plugins.credentials.oauth.GoogleRobotCredentials.CredentialsListBoxModel
-
Retrieve the set of scopes for our requirement.
- getSecretBytesFromFile(String) - Method in class com.google.jenkins.plugins.credentials.oauth.ServiceAccountConfig
-
Deprecated.
- getSecretJsonKey() - Method in class com.google.jenkins.plugins.credentials.oauth.JsonServiceAccountConfig
- getSecretP12Key() - Method in class com.google.jenkins.plugins.credentials.oauth.P12ServiceAccountConfig
-
Do not use, required for UI.
- getServiceAccountConfig() - Method in class com.google.jenkins.plugins.credentials.oauth.GoogleRobotPrivateKeyCredentials
- getServiceAccountConfigDescriptors() - Static method in class com.google.jenkins.plugins.credentials.oauth.GoogleRobotPrivateKeyCredentials
-
Used for populating the configuration for each
ServiceAccountConfig
- getUsername() - Method in class com.google.jenkins.plugins.credentials.oauth.GoogleRobotMetadataCredentials
- getUsername() - Method in class com.google.jenkins.plugins.credentials.oauth.GoogleRobotPrivateKeyCredentials
- getValue() - Method in class com.google.jenkins.plugins.util.NameValuePair
-
Fetches the value
- getWeb() - Method in class com.google.jenkins.plugins.credentials.oauth.LegacyJsonKey
-
Deprecated.Returns the details for web applications.
- GoogleAuthorizationStrategy_CredentialError() - Static method in class com.google.jenkins.plugins.credentials.oauth.Messages
-
Key
GoogleAuthorizationStrategy.CredentialError
:Need to provide a credential
. - GoogleAuthorizationStrategy_DisplayName() - Static method in class com.google.jenkins.plugins.credentials.oauth.Messages
-
Key
GoogleAuthorizationStrategy.DisplayName
:Project Matrix Authorization Strategy (using Google Cloud Console roles)
. - GoogleOAuth2Credentials - Interface in com.google.jenkins.plugins.credentials.oauth
-
Google-specific username / access token combination.
- GoogleOAuth2ScopeRequirement - Class in com.google.jenkins.plugins.credentials.oauth
-
Used to type filter Google-specific
OAuth2ScopeRequirement
s. - GoogleOAuth2ScopeRequirement() - Constructor for class com.google.jenkins.plugins.credentials.oauth.GoogleOAuth2ScopeRequirement
- GoogleOAuth2ScopeSpecification - Class in com.google.jenkins.plugins.credentials.oauth
-
A Google-specific implementation of the
OAuth2ScopeSpecification
that limits its application to Google-specificOAuth2ScopeRequirement
- GoogleOAuth2ScopeSpecification(Collection<String>) - Constructor for class com.google.jenkins.plugins.credentials.oauth.GoogleOAuth2ScopeSpecification
- GoogleOAuth2ScopeSpecification_DisplayName() - Static method in class com.google.jenkins.plugins.credentials.oauth.Messages
-
Key
GoogleOAuth2ScopeSpecification.DisplayName
:Google OAuth 2.0 Scope Specification
. - GoogleOAuth2ScopeSpecification.DescriptorImpl - Class in com.google.jenkins.plugins.credentials.oauth
-
Denoted this class is a
DomainSpecification
plugin, in particular forOAuth2ScopeSpecification
- GoogleRobotCredentials - Class in com.google.jenkins.plugins.credentials.oauth
-
The base implementation of service account (aka robot) credentials using OAuth2.
- GoogleRobotCredentials(CredentialsScope, String, String, GoogleRobotCredentialsModule) - Constructor for class com.google.jenkins.plugins.credentials.oauth.GoogleRobotCredentials
-
Deprecated.
- GoogleRobotCredentials(CredentialsScope, String, String, String, GoogleRobotCredentialsModule) - Constructor for class com.google.jenkins.plugins.credentials.oauth.GoogleRobotCredentials
-
Base constructor for populating the scope, name, id, and project id for Google credentials.
- GoogleRobotCredentials(String, GoogleRobotCredentialsModule) - Constructor for class com.google.jenkins.plugins.credentials.oauth.GoogleRobotCredentials
-
Deprecated.
- GoogleRobotCredentials_Description() - Static method in class com.google.jenkins.plugins.credentials.oauth.Messages
-
Key
GoogleRobotCredentials.Description
:A Google robot account for accessing Google APIs and services.
. - GoogleRobotCredentials_NoAnnotation(Object) - Static method in class com.google.jenkins.plugins.credentials.oauth.Messages
-
Key
GoogleRobotCredentials.NoAnnotation
:{0} must be annotated with @RequiresDomain
. - GoogleRobotCredentials.AbstractGoogleRobotCredentialsDescriptor - Class in com.google.jenkins.plugins.credentials.oauth
-
The descriptor for Google robot account credential extensions
- GoogleRobotCredentials.CredentialsListBoxModel - Class in com.google.jenkins.plugins.credentials.oauth
-
A trivial tuple for wrapping the list box of matched credentials with the requirements that were used to filter them.
- GoogleRobotCredentialsModule - Class in com.google.jenkins.plugins.credentials.oauth
-
An abstraction interface for instantiating the dependencies of the
GoogleRobotCredentials
. - GoogleRobotCredentialsModule() - Constructor for class com.google.jenkins.plugins.credentials.oauth.GoogleRobotCredentialsModule
- GoogleRobotMetadataCredentials - Class in com.google.jenkins.plugins.credentials.oauth
-
An implementation of
GoogleRobotCredentials
that produces OAuth2 access tokens using the metadata service attached to Google Compute instances. - GoogleRobotMetadataCredentials(CredentialsScope, String, String, GoogleRobotMetadataCredentialsModule) - Constructor for class com.google.jenkins.plugins.credentials.oauth.GoogleRobotMetadataCredentials
-
Deprecated.
- GoogleRobotMetadataCredentials(CredentialsScope, String, String, String, GoogleRobotMetadataCredentialsModule) - Constructor for class com.google.jenkins.plugins.credentials.oauth.GoogleRobotMetadataCredentials
-
Construct a set of service account credentials with a specific id.
- GoogleRobotMetadataCredentials(String, GoogleRobotMetadataCredentialsModule) - Constructor for class com.google.jenkins.plugins.credentials.oauth.GoogleRobotMetadataCredentials
-
Deprecated.
- GoogleRobotMetadataCredentials_AddProjectIdAuthError() - Static method in class com.google.jenkins.plugins.credentials.oauth.Messages
-
Key
GoogleRobotMetadataCredentials.AddProjectIdAuthError
:Insufficient privileges to add a project
. - GoogleRobotMetadataCredentials_DefaultIdentityError() - Static method in class com.google.jenkins.plugins.credentials.oauth.Messages
-
Key
GoogleRobotMetadataCredentials.DefaultIdentityError
:An unknown problem occured while retrieving the default service account's identity
. - GoogleRobotMetadataCredentials_DisplayName() - Static method in class com.google.jenkins.plugins.credentials.oauth.Messages
-
Key
GoogleRobotMetadataCredentials.DisplayName
:Google Service Account from metadata
. - GoogleRobotMetadataCredentials_ProjectIDError() - Static method in class com.google.jenkins.plugins.credentials.oauth.Messages
-
Key
GoogleRobotMetadataCredentials.ProjectIDError
:A project name must be specified
. - GoogleRobotMetadataCredentials.Descriptor - Class in com.google.jenkins.plugins.credentials.oauth
-
Descriptor for our unlimited service account extension.
- GoogleRobotMetadataCredentialsModule - Class in com.google.jenkins.plugins.credentials.oauth
-
An abstraction interface for instantiating the dependencies of the
GoogleRobotMetadataCredentials
. - GoogleRobotMetadataCredentialsModule() - Constructor for class com.google.jenkins.plugins.credentials.oauth.GoogleRobotMetadataCredentialsModule
- GoogleRobotNameProvider - Class in com.google.jenkins.plugins.credentials.oauth
-
Retrieve a user-friendly name to be used when listing the credential for use by plugins.
- GoogleRobotNameProvider() - Constructor for class com.google.jenkins.plugins.credentials.oauth.GoogleRobotNameProvider
- GoogleRobotPrivateKeyCredentials - Class in com.google.jenkins.plugins.credentials.oauth
-
A set of Google service account credentials for a cloud project to use for authenticating against Google service APIs.
- GoogleRobotPrivateKeyCredentials(CredentialsScope, String, String, ServiceAccountConfig, GoogleRobotCredentialsModule) - Constructor for class com.google.jenkins.plugins.credentials.oauth.GoogleRobotPrivateKeyCredentials
-
Deprecated.
- GoogleRobotPrivateKeyCredentials(CredentialsScope, String, String, String, ServiceAccountConfig, GoogleRobotCredentialsModule) - Constructor for class com.google.jenkins.plugins.credentials.oauth.GoogleRobotPrivateKeyCredentials
-
Construct a set of service account credentials with a specific id.
- GoogleRobotPrivateKeyCredentials(String, ServiceAccountConfig, GoogleRobotCredentialsModule) - Constructor for class com.google.jenkins.plugins.credentials.oauth.GoogleRobotPrivateKeyCredentials
-
Deprecated.
- GoogleRobotPrivateKeyCredentials_BadCredentials() - Static method in class com.google.jenkins.plugins.credentials.oauth.Messages
-
Key
GoogleRobotPrivateKeyCredentials.BadCredentials
:An error occurred deducing a username from the provided credentials files.
. - GoogleRobotPrivateKeyCredentials_DisplayName() - Static method in class com.google.jenkins.plugins.credentials.oauth.Messages
-
Key
GoogleRobotPrivateKeyCredentials.DisplayName
:Google Service Account from private key
. - GoogleRobotPrivateKeyCredentials_ExceptionString() - Static method in class com.google.jenkins.plugins.credentials.oauth.Messages
-
Key
GoogleRobotPrivateKeyCredentials.ExceptionString
:An unknown problem occured while retrieving token
. - GoogleRobotPrivateKeyCredentials_ProjectIDError() - Static method in class com.google.jenkins.plugins.credentials.oauth.Messages
-
Key
GoogleRobotPrivateKeyCredentials.ProjectIDError
:A project name must be specified
. - GoogleRobotPrivateKeyCredentials.AccountIdNotSetException - Exception in com.google.jenkins.plugins.credentials.oauth
-
Exception that gets thrown if AccountId is not set.
- GoogleRobotPrivateKeyCredentials.Descriptor - Class in com.google.jenkins.plugins.credentials.oauth
-
Descriptor for our unlimited service account extension.
- GoogleRobotPrivateKeyCredentials.InvalidSecretsFileException - Exception in com.google.jenkins.plugins.credentials.oauth
-
Exception that gets thrown if an invalid SecretsFile is set while upgrading legacy
GoogleRobotPrivateKeyCredentials
- GoogleRobotPrivateKeyCredentials.KeyTypeNotSetException - Exception in com.google.jenkins.plugins.credentials.oauth
-
Exception that gets thrown if ServiceAccountConfig is not set.
- GoogleRobotPrivateKeyCredentials.MissingSecretsFileException - Exception in com.google.jenkins.plugins.credentials.oauth
-
Exception that gets thrown if SecretsFile is not set while upgrading legacy
GoogleRobotPrivateKeyCredentials
- GoogleRobotPrivateKeyCredentials.PrivateKeyNotSetException - Exception in com.google.jenkins.plugins.credentials.oauth
-
Exception that gets thrown if PrivateKey is not set.
- GoogleRobotPrivateKeyCredentials.SecretsFileNotFoundException - Exception in com.google.jenkins.plugins.credentials.oauth
-
Exception that gets thrown if SecretsFile could not be found while upgrading legacy
GoogleRobotPrivateKeyCredentials
H
- hashCode() - Method in class com.google.jenkins.plugins.credentials.oauth.GoogleRobotCredentials.CredentialsListBoxModel
- hasMetadata() - Method in class com.google.jenkins.plugins.util.MetadataReader.Default
-
Are we on a Google Compute Engine instance?
- hasMetadata() - Method in interface com.google.jenkins.plugins.util.MetadataReader
-
Are we on a Google Compute Engine instance?
I
- InvalidSecretsFileException() - Constructor for exception com.google.jenkins.plugins.credentials.oauth.GoogleRobotPrivateKeyCredentials.InvalidSecretsFileException
- InvalidSecretsFileException(Throwable) - Constructor for exception com.google.jenkins.plugins.credentials.oauth.GoogleRobotPrivateKeyCredentials.InvalidSecretsFileException
J
- JsonKey - Class in com.google.jenkins.plugins.credentials.oauth
-
The Google Developer Console provides private keys for service accounts in two different ways.
- JsonKey() - Constructor for class com.google.jenkins.plugins.credentials.oauth.JsonKey
- JsonServiceAccountConfig - Class in com.google.jenkins.plugins.credentials.oauth
-
Provides authentication mechanism for a service account by setting a JSON private key file.
- JsonServiceAccountConfig() - Constructor for class com.google.jenkins.plugins.credentials.oauth.JsonServiceAccountConfig
- JsonServiceAccountConfig(FileItem, String) - Constructor for class com.google.jenkins.plugins.credentials.oauth.JsonServiceAccountConfig
-
Deprecated.
- JsonServiceAccountConfig_DisplayName() - Static method in class com.google.jenkins.plugins.credentials.oauth.Messages
-
Key
JsonServiceAccountConfig.DisplayName
:JSON key
. - JsonServiceAccountConfig.DescriptorImpl - Class in com.google.jenkins.plugins.credentials.oauth
-
Descriptor for JSON service account authentication.
K
- KeyTypeNotSetException() - Constructor for exception com.google.jenkins.plugins.credentials.oauth.GoogleRobotPrivateKeyCredentials.KeyTypeNotSetException
- KeyUtils - Class in com.google.jenkins.plugins.credentials.oauth
-
Deprecated.Consider to use
SecretBytes
instead.
L
- LegacyJsonKey - Class in com.google.jenkins.plugins.credentials.oauth
-
Deprecated.
- LegacyJsonKey() - Constructor for class com.google.jenkins.plugins.credentials.oauth.LegacyJsonKey
-
Deprecated.
- LegacyJsonKey.Details - Class in com.google.jenkins.plugins.credentials.oauth
-
Deprecated.Container for our new field, modeled after:
GoogleClientSecrets.Details
- load(JsonFactory, InputStream) - Static method in class com.google.jenkins.plugins.credentials.oauth.JsonKey
- load(JsonFactory, InputStream) - Static method in class com.google.jenkins.plugins.credentials.oauth.LegacyJsonKey
-
Deprecated.Loads the
client_secrets.json
file from the given input stream.
M
- matches(List<DomainRequirement>) - Method in class com.google.jenkins.plugins.credentials.oauth.GoogleRobotMetadataCredentials
- MaxRetryExceededException - Exception in com.google.jenkins.plugins.util
-
This exception is used to signify that the maximum number of retries has been exceeded, that we shouldn't make further attempt.
- MaxRetryExceededException() - Constructor for exception com.google.jenkins.plugins.util.MaxRetryExceededException
- MaxRetryExceededException(Throwable) - Constructor for exception com.google.jenkins.plugins.util.MaxRetryExceededException
- Messages - Class in com.google.jenkins.plugins.credentials.oauth
-
Generated localization support class.
- Messages - Class in com.google.jenkins.plugins.util
-
Generated localization support class.
- Messages() - Constructor for class com.google.jenkins.plugins.credentials.oauth.Messages
- Messages() - Constructor for class com.google.jenkins.plugins.util.Messages
- METADATA_SERVER - Static variable in class com.google.jenkins.plugins.util.MetadataReader.Default
-
The address of the GCE Metadata service that provides GCE instances with information about the default service account.
- metadataDescriptor() - Static method in class com.google.jenkins.plugins.credentials.oauth.GoogleRobotMetadataCredentials.Descriptor
-
This factory method determines whether the host machine has an associated metadata server, and if so registers the metadata-based robot credential.
- MetadataReader - Interface in com.google.jenkins.plugins.util
-
This helper utility is used for reading values out of a Google Compute Engine instance's attached metadata service.
- MetadataReader.Default - Class in com.google.jenkins.plugins.util
-
A simple default implementation that reads metadata via http requests.
- MissingSecretsFileException() - Constructor for exception com.google.jenkins.plugins.credentials.oauth.GoogleRobotPrivateKeyCredentials.MissingSecretsFileException
- MockExecutor - Class in com.google.jenkins.plugins.util
-
This is an implementation of
Executor
that can be injected to inject a set of canned responses to requests including: A pre-determined object Throwing anIOException
orExecutorException
Passing through a part of the request as the response - MockExecutor() - Constructor for class com.google.jenkins.plugins.util.MockExecutor
N
- NameValuePair<N,V> - Class in com.google.jenkins.plugins.util
-
A name-value pair helper class.
- NameValuePair(N, V) - Constructor for class com.google.jenkins.plugins.util.NameValuePair
-
Construct a pair from the given name and value.
- NotFoundException - Exception in com.google.jenkins.plugins.util
-
This exception is used to wrap and propagate 404 (Not Found) HTTP exceptions up the stack.
- NotFoundException() - Constructor for exception com.google.jenkins.plugins.util.NotFoundException
- NotFoundException(Throwable) - Constructor for exception com.google.jenkins.plugins.util.NotFoundException
P
- P12ServiceAccountConfig - Class in com.google.jenkins.plugins.credentials.oauth
-
Provides authentication mechanism for a service account by setting a service account email address and P12 private key file.
- P12ServiceAccountConfig(String) - Constructor for class com.google.jenkins.plugins.credentials.oauth.P12ServiceAccountConfig
- P12ServiceAccountConfig(String, FileItem, String) - Constructor for class com.google.jenkins.plugins.credentials.oauth.P12ServiceAccountConfig
-
Deprecated.
- P12ServiceAccountConfig_DisplayName() - Static method in class com.google.jenkins.plugins.credentials.oauth.Messages
-
Key
P12ServiceAccountConfig.DisplayName
:P12 key
. - P12ServiceAccountConfig_ErrorEmailRequired() - Static method in class com.google.jenkins.plugins.credentials.oauth.Messages
-
Key
P12ServiceAccountConfig.ErrorEmailRequired
:Email address is required
. - P12ServiceAccountConfig.DescriptorImpl - Class in com.google.jenkins.plugins.credentials.oauth
-
Descriptor for P12 service account authentication.
- passThruWhen(Class<C>) - Method in class com.google.jenkins.plugins.util.MockExecutor
-
When the next request matches the given
requestType
pass through the request'sgetJsonContent()
cast to the expected response type. - passThruWhen(Class<C>, Predicate<S>) - Method in class com.google.jenkins.plugins.util.MockExecutor
-
When the next request matches the given
requestType
and the provided userPredicate
pass through the request'sgetJsonContent()
cast to the expected response type. - PrivateKeyNotSetException() - Constructor for exception com.google.jenkins.plugins.credentials.oauth.GoogleRobotPrivateKeyCredentials.PrivateKeyNotSetException
R
- readMetadata(String) - Method in class com.google.jenkins.plugins.util.MetadataReader.Default
-
Reads the specified sub-element out of the Google Compute Engine instance's metadata.
- readMetadata(String) - Method in interface com.google.jenkins.plugins.util.MetadataReader
-
Reads the specified sub-element out of the Google Compute Engine instance's metadata.
- readResolve() - Method in class com.google.jenkins.plugins.credentials.oauth.GoogleRobotPrivateKeyCredentials
- RemotableGoogleCredentials_BadGetDescriptor() - Static method in class com.google.jenkins.plugins.credentials.oauth.Messages
-
Key
RemotableGoogleCredentials.BadGetDescriptor
:Consumers of RemotableGoogleCredentials should not invoke getDescriptor
. - RemotableGoogleCredentials_BadGetName() - Static method in class com.google.jenkins.plugins.credentials.oauth.Messages
-
Key
RemotableGoogleCredentials.BadGetName
:Consumers of RemotableGoogleCredentials should not invoke getName
. - RemotableGoogleCredentials_NoAccessToken() - Static method in class com.google.jenkins.plugins.credentials.oauth.Messages
-
Key
RemotableGoogleCredentials.NoAccessToken
:Unable to retrieve an access token with the provided credentials
. - RequestCallable<T> - Class in com.google.jenkins.plugins.util
- RequestCallable() - Constructor for class com.google.jenkins.plugins.util.RequestCallable
- Resolve - Class in com.google.jenkins.plugins.util
-
Container class for static methods that resolve form entries with typical form data, for use in Jenkins
doCheckFoo
methods. - resolveBuiltin(String) - Static method in class com.google.jenkins.plugins.util.Resolve
-
Replaces Jenkins build variables (e.g.
- resolveBuiltinWithCustom(String, Map<String, String>) - Static method in class com.google.jenkins.plugins.util.Resolve
-
Replaces Jenkins build variables (e.g.
- resolveCustom(String, Map<String, String>) - Static method in class com.google.jenkins.plugins.util.Resolve
-
Replaces a user's custom Jenkins variables (e.g.
S
- sawAll() - Method in class com.google.jenkins.plugins.util.MockExecutor
-
Did we see all of the expected requests?
- sawUnexpected() - Method in class com.google.jenkins.plugins.util.MockExecutor
-
Did we see any unexpected requests?
- SecretsFileNotFoundException(Throwable) - Constructor for exception com.google.jenkins.plugins.credentials.oauth.GoogleRobotPrivateKeyCredentials.SecretsFileNotFoundException
- ServiceAccountConfig - Class in com.google.jenkins.plugins.credentials.oauth
-
general abstraction for providing google service account authentication mechanism.
- ServiceAccountConfig() - Constructor for class com.google.jenkins.plugins.credentials.oauth.ServiceAccountConfig
- ServiceAccountConfig.Descriptor - Class in com.google.jenkins.plugins.credentials.oauth
-
abstract descriptor for service account authentication
- setClientEmail(String) - Method in class com.google.jenkins.plugins.credentials.oauth.JsonKey
- setClientEmail(String) - Method in class com.google.jenkins.plugins.credentials.oauth.LegacyJsonKey.Details
-
Deprecated.
- setFilename(String) - Method in class com.google.jenkins.plugins.credentials.oauth.JsonServiceAccountConfig
- setFilename(String) - Method in class com.google.jenkins.plugins.credentials.oauth.P12ServiceAccountConfig
- setJsonKeyFileUpload(FileItem) - Method in class com.google.jenkins.plugins.credentials.oauth.JsonServiceAccountConfig
- setP12KeyFileUpload(FileItem) - Method in class com.google.jenkins.plugins.credentials.oauth.P12ServiceAccountConfig
-
Deprecated.
- setPrivateKey(String) - Method in class com.google.jenkins.plugins.credentials.oauth.JsonKey
- setSecretJsonKey(SecretBytes) - Method in class com.google.jenkins.plugins.credentials.oauth.JsonServiceAccountConfig
- setSecretP12Key(SecretBytes) - Method in class com.google.jenkins.plugins.credentials.oauth.P12ServiceAccountConfig
- setWeb(LegacyJsonKey.Details) - Method in class com.google.jenkins.plugins.credentials.oauth.LegacyJsonKey
-
Deprecated.
- sleep() - Method in class com.google.jenkins.plugins.util.Executor
-
Surface this as a canonical means by which to sleep, so that clients can layer their own retry logic on top of the executor using the same sleep facility;
- sleep() - Method in class com.google.jenkins.plugins.util.MockExecutor
-
Surface this as a canonical means by which to sleep, so that clients can layer their own retry logic on top of the executor using the same sleep facility;
- sleep(int) - Method in class com.google.jenkins.plugins.util.Executor
-
Surface this as a canonical means by which to sleep, so that clients can layer their own retry logic on top of the executor using the same sleep facility;
T
- throwWhen(Class<C>, ExecutorException) - Method in class com.google.jenkins.plugins.util.MockExecutor
-
When the next request matches the given
requestType
throwexception
instead of responding. - throwWhen(Class<C>, ExecutorException, Predicate<S>) - Method in class com.google.jenkins.plugins.util.MockExecutor
-
When the next request matches the given
requestType
and the provided userPredicate
throwexception
instead of responding. - throwWhen(Class<C>, IOException) - Method in class com.google.jenkins.plugins.util.MockExecutor
-
When the next request matches the given
requestType
throwexception
instead of responding. - throwWhen(Class<C>, IOException, Predicate<S>) - Method in class com.google.jenkins.plugins.util.MockExecutor
-
When the next request matches the given
requestType
and the provided userPredicate
throwexception
instead of responding.
U
- updatePermissions(File) - Static method in class com.google.jenkins.plugins.credentials.oauth.KeyUtils
-
Deprecated.Sets the permissions of the file to owner-only read/write.
W
- when(Class<C>, T) - Method in class com.google.jenkins.plugins.util.MockExecutor
-
When the next request matches the given
requestType
returnresponse
as the response. - when(Class<C>, T, Predicate<S>) - Method in class com.google.jenkins.plugins.util.MockExecutor
-
When the next request matches the given
requestType
and the provided userPredicate
returnresponse
as the response. - writeKeyToFile(InputStream, File) - Static method in class com.google.jenkins.plugins.credentials.oauth.KeyUtils
-
Deprecated.Writes the key contained in the given
InputStream
to the given keyfile. - writeKeyToFileEncoded(String, File) - Static method in class com.google.jenkins.plugins.credentials.oauth.KeyUtils
-
Deprecated.Writes the given key to the given keyfile, passing it through
Secret
to encode the string.
_
- _Executor_HttpError() - Static method in class com.google.jenkins.plugins.util.Messages
-
Key
Executor.HttpError
:RPC failed on http response exception
. - _Executor_TimeoutError() - Static method in class com.google.jenkins.plugins.util.Messages
-
Key
Executor.TimeoutError
:RPC failed on socket timeout
. - _GoogleAuthorizationStrategy_CredentialError() - Static method in class com.google.jenkins.plugins.credentials.oauth.Messages
-
Key
GoogleAuthorizationStrategy.CredentialError
:Need to provide a credential
. - _GoogleAuthorizationStrategy_DisplayName() - Static method in class com.google.jenkins.plugins.credentials.oauth.Messages
-
Key
GoogleAuthorizationStrategy.DisplayName
:Project Matrix Authorization Strategy (using Google Cloud Console roles)
. - _GoogleOAuth2ScopeSpecification_DisplayName() - Static method in class com.google.jenkins.plugins.credentials.oauth.Messages
-
Key
GoogleOAuth2ScopeSpecification.DisplayName
:Google OAuth 2.0 Scope Specification
. - _GoogleRobotCredentials_Description() - Static method in class com.google.jenkins.plugins.credentials.oauth.Messages
-
Key
GoogleRobotCredentials.Description
:A Google robot account for accessing Google APIs and services.
. - _GoogleRobotCredentials_NoAnnotation(Object) - Static method in class com.google.jenkins.plugins.credentials.oauth.Messages
-
Key
GoogleRobotCredentials.NoAnnotation
:{0} must be annotated with @RequiresDomain
. - _GoogleRobotMetadataCredentials_AddProjectIdAuthError() - Static method in class com.google.jenkins.plugins.credentials.oauth.Messages
-
Key
GoogleRobotMetadataCredentials.AddProjectIdAuthError
:Insufficient privileges to add a project
. - _GoogleRobotMetadataCredentials_DefaultIdentityError() - Static method in class com.google.jenkins.plugins.credentials.oauth.Messages
-
Key
GoogleRobotMetadataCredentials.DefaultIdentityError
:An unknown problem occured while retrieving the default service account's identity
. - _GoogleRobotMetadataCredentials_DisplayName() - Static method in class com.google.jenkins.plugins.credentials.oauth.Messages
-
Key
GoogleRobotMetadataCredentials.DisplayName
:Google Service Account from metadata
. - _GoogleRobotMetadataCredentials_ProjectIDError() - Static method in class com.google.jenkins.plugins.credentials.oauth.Messages
-
Key
GoogleRobotMetadataCredentials.ProjectIDError
:A project name must be specified
. - _GoogleRobotPrivateKeyCredentials_BadCredentials() - Static method in class com.google.jenkins.plugins.credentials.oauth.Messages
-
Key
GoogleRobotPrivateKeyCredentials.BadCredentials
:An error occurred deducing a username from the provided credentials files.
. - _GoogleRobotPrivateKeyCredentials_DisplayName() - Static method in class com.google.jenkins.plugins.credentials.oauth.Messages
-
Key
GoogleRobotPrivateKeyCredentials.DisplayName
:Google Service Account from private key
. - _GoogleRobotPrivateKeyCredentials_ExceptionString() - Static method in class com.google.jenkins.plugins.credentials.oauth.Messages
-
Key
GoogleRobotPrivateKeyCredentials.ExceptionString
:An unknown problem occured while retrieving token
. - _GoogleRobotPrivateKeyCredentials_ProjectIDError() - Static method in class com.google.jenkins.plugins.credentials.oauth.Messages
-
Key
GoogleRobotPrivateKeyCredentials.ProjectIDError
:A project name must be specified
. - _JsonServiceAccountConfig_DisplayName() - Static method in class com.google.jenkins.plugins.credentials.oauth.Messages
-
Key
JsonServiceAccountConfig.DisplayName
:JSON key
. - _P12ServiceAccountConfig_DisplayName() - Static method in class com.google.jenkins.plugins.credentials.oauth.Messages
-
Key
P12ServiceAccountConfig.DisplayName
:P12 key
. - _P12ServiceAccountConfig_ErrorEmailRequired() - Static method in class com.google.jenkins.plugins.credentials.oauth.Messages
-
Key
P12ServiceAccountConfig.ErrorEmailRequired
:Email address is required
. - _RemotableGoogleCredentials_BadGetDescriptor() - Static method in class com.google.jenkins.plugins.credentials.oauth.Messages
-
Key
RemotableGoogleCredentials.BadGetDescriptor
:Consumers of RemotableGoogleCredentials should not invoke getDescriptor
. - _RemotableGoogleCredentials_BadGetName() - Static method in class com.google.jenkins.plugins.credentials.oauth.Messages
-
Key
RemotableGoogleCredentials.BadGetName
:Consumers of RemotableGoogleCredentials should not invoke getName
. - _RemotableGoogleCredentials_NoAccessToken() - Static method in class com.google.jenkins.plugins.credentials.oauth.Messages
-
Key
RemotableGoogleCredentials.NoAccessToken
:Unable to retrieve an access token with the provided credentials
.
All Classes All Packages