Class UpdateCenterMetadata
java.lang.Object
org.jenkinsci.test.acceptance.update_center.UpdateCenterMetadata
Databinding for Update Center metadata
- Author:
- Kohsuke Kawaguchi
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classDeprecated.
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic UpdateCenterMetadataget(String id, Map<String, PluginMetadata> plugins) static UpdateCenterMetadataCreate metadata parsing Jenkins update center file.transitiveDependenciesOf(Jenkins jenkins, Collection<PluginSpec> plugins) Deprecated.Not used when runningMockUpdateCenter.
- 
Field Details- 
pluginsDetails of plugins by their name.
- 
id
 
- 
- 
Constructor Details- 
UpdateCenterMetadatapublic UpdateCenterMetadata()
 
- 
- 
Method Details- 
parseCreate metadata parsing Jenkins update center file.- Parameters:
- data- .json or .json.html file served from update center.
- Throws:
- IOException
 
- 
get
- 
transitiveDependenciesOf@Deprecated public List<PluginMetadata> transitiveDependenciesOf(Jenkins jenkins, Collection<PluginSpec> plugins) throws UpdateCenterMetadata.UnableToResolveDependencies Deprecated.Not used when runningMockUpdateCenter.Find all the transitive dependency plugins of the given plugins, in the order of installation.Resolved plugins set should satisfy required versions including Jenkins version. Transitive dependencies will not be included if there is an already valid version of the plugin installed. - Throws:
- UpdateCenterMetadata.UnableToResolveDependencies- When there requested plugin version can not be installed.
 
 
- 
MockUpdateCenter.