public abstract class MavenMetadataParameterDefinitionBackwardCompatibility extends ParameterDefinition
MavenMetadataParameterDefinition
and
are now deprecated. Moving deprecated stuff to this class keeps the main implementation cleaner.
Inspired by hudson.plugins.git.GitSCMBackwardCompatibility
ParameterDefinition.ParameterDescriptor
ExtensionPoint.LegacyInstancesAreScopedToHudson
LIST
Constructor and Description |
---|
MavenMetadataParameterDefinitionBackwardCompatibility(String name,
String description) |
Modifier and Type | Method and Description |
---|---|
protected abstract com.cloudbees.plugins.credentials.common.UsernamePasswordCredentials |
findCredentialsByCredentialsId() |
protected abstract String |
getCredentialsId() |
String |
getPassword()
Deprecated.
Migrated to
MavenMetadataParameterDefinition.credentialsId |
protected abstract String |
getRepoBaseUrl() |
String |
getUsername()
Deprecated.
Migrated to
MavenMetadataParameterDefinition.credentialsId |
Object |
readResolve() |
protected abstract void |
setCredentialsId(String credentialsId) |
all, copyWithDefaultValue, createValue, createValue, createValue, equals, getDefaultParameterValue, getDescription, getDescriptor, getFormattedDescription, getName, getType, hashCode, isValid, setDescription
public Object readResolve() throws IOException
IOException
protected abstract com.cloudbees.plugins.credentials.common.UsernamePasswordCredentials findCredentialsByCredentialsId()
protected abstract String getRepoBaseUrl()
protected abstract String getCredentialsId()
protected abstract void setCredentialsId(String credentialsId)
@Deprecated public String getUsername()
MavenMetadataParameterDefinition.credentialsId
@Deprecated public String getPassword()
MavenMetadataParameterDefinition.credentialsId
Copyright © 2012–2022. All rights reserved.