@Extension @Symbol(value="repository-connector") public class RepositoryConfiguration extends GlobalConfiguration
Repository Connector
plugin.Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
ExtensionPoint.LegacyInstancesAreScopedToHudson
clazz
Constructor and Description |
---|
RepositoryConfiguration() |
Modifier and Type | Method and Description |
---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json) |
static AetherBuilderFactory |
createAetherFactory() |
FormValidation |
doCheckLocalRepository(String localRepository) |
static RepositoryConfiguration |
get() |
String |
getLocalRepository() |
Collection<Repository> |
getRepositories() |
boolean |
hasMultipleRepositories() |
void |
load() |
void |
migrateCredentials() |
void |
setLocalRepository(String localRepository) |
void |
setRepositories(Collection<Repository> toAdd) |
all, getDescriptor, getGlobalConfigPage
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, 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, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) throws Descriptor.FormException
configure
in class GlobalConfiguration
Descriptor.FormException
public FormValidation doCheckLocalRepository(@QueryParameter String localRepository)
public String getLocalRepository()
public Collection<Repository> getRepositories()
public boolean hasMultipleRepositories()
public void load()
load
in class Descriptor<GlobalConfiguration>
@Initializer(after=JOB_LOADED) public void migrateCredentials()
@DataBoundSetter public void setLocalRepository(String localRepository)
@DataBoundSetter public void setRepositories(Collection<Repository> toAdd)
public static AetherBuilderFactory createAetherFactory()
public static RepositoryConfiguration get()
Copyright © 2010–2021. All rights reserved.