mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-04 07:35:53 +00:00
exposing this code to outside
This commit is contained in:
1 parent
d503cf827f
commit
2c97fe227a
2 files changed
+9
-2
No files matched your search
@@ -857,7 +857,10 @@ public abstract class PluginManager extends AbstractModelObject implements OnMas
|
||||
return HttpResponses.redirectViaContextPath("updateCenter");
|
||||
}
|
||||
|
||||
static Map<String,VersionNumber> parseRequestedPlugins(InputStream configXml) throws IOException {
|
||||
/**
|
||||
* Parses configuration XML files and picks up references to XML files.
|
||||
*/
|
||||
public Map<String,VersionNumber> parseRequestedPlugins(InputStream configXml) throws IOException {
|
||||
final Map<String,VersionNumber> requestedPlugins = new TreeMap<String,VersionNumber>();
|
||||
try {
|
||||
SAXParserFactory.newInstance().newSAXParser().parse(configXml, new DefaultHandler() {
|
||||
|
||||
Reference in new issue
Block a user