Class UpdateCenterMetadata
java.lang.Object
org.jenkinsci.test.acceptance.update_center.UpdateCenterMetadata
Databinding for Update Center metadata
- Author:
- Kohsuke Kawaguchi
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Deprecated. -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic UpdateCenterMetadata
get
(String id, Map<String, PluginMetadata> plugins) static UpdateCenterMetadata
Create metadata parsing Jenkins update center file.transitiveDependenciesOf
(Jenkins jenkins, Collection<PluginSpec> plugins) Deprecated.Not used when runningMockUpdateCenter
.
-
Field Details
-
plugins
Details of plugins by their name. -
id
-
-
Constructor Details
-
UpdateCenterMetadata
public UpdateCenterMetadata()
-
-
Method Details
-
parse
Create 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
.