Class CachedUpdateCenterMetadataLoader
java.lang.Object
org.jenkinsci.test.acceptance.update_center.CachedUpdateCenterMetadataLoader
- All Implemented Interfaces:
UpdateCenterMetadataProvider
@Singleton
public class CachedUpdateCenterMetadataLoader
extends Object
implements UpdateCenterMetadataProvider
Parses update-center.json.html possibly from a cache and determine plugins to install.
- Author:
- Kohsuke Kawaguchi
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
CachedUpdateCenterMetadataLoader
public CachedUpdateCenterMetadataLoader()
-
-
Method Details
-
get
Description copied from interface:UpdateCenterMetadataProvider
Loads metadata.- Specified by:
get
in interfaceUpdateCenterMetadataProvider
- Parameters:
jenkins
- the Jenkins service- Returns:
- parsed
update-center.json
- Throws:
IOException
- if there is any problem
-