mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-10-29 04:25:23 +00:00
applied a patch from Adam, with a little modification.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10860 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
9d311b98bf
commit
ebdd1948cf
2 files changed
+19
-2
No files matched your search
@@ -483,6 +483,14 @@ public final class PluginWrapper {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* returns the {@link UpdateCenter.Plugin} object, or null.
|
||||
*/
|
||||
public UpdateCenter.Plugin getInfo() {
|
||||
UpdateCenter uc = Hudson.getInstance().getUpdateCenter();
|
||||
return uc.getPlugin(getShortName());
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns true if this plugin has update in the update center.
|
||||
|
||||
Reference in new issue
Block a user