mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-03 15:15:54 +00:00
Plugin is now optional
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15898 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
03b398024a
commit
29697efdfa
3 files changed
+26
-18
No files matched your search
@@ -229,4 +229,12 @@ public abstract class Plugin implements Saveable {
|
||||
return new XmlFile(Hudson.XSTREAM,
|
||||
new File(Hudson.getInstance().getRootDir(),wrapper.getShortName()+".xml"));
|
||||
}
|
||||
|
||||
/**
|
||||
* Dummy instance of {@link Plugin} to be used when a plugin didn't
|
||||
* supply one on its own.
|
||||
*
|
||||
* @since 1.288
|
||||
*/
|
||||
public static final Plugin NONE = new Plugin() {};
|
||||
}
|
||||
Reference in new issue
Block a user