hudson.plugins.warnings
Class WarningsDescriptor
java.lang.Object
hudson.model.Descriptor<T>
hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
hudson.plugins.warnings.util.PluginDescriptor
hudson.plugins.warnings.WarningsDescriptor
public final class WarningsDescriptor
- extends PluginDescriptor
Descriptor for the class WarningsPublisher. Used as a singleton. The
class is marked as public so that it can be accessed from views.
- Author:
- Ulli Hafner
| Nested classes/interfaces inherited from class hudson.model.Descriptor |
hudson.model.Descriptor.FormException |
| Fields inherited from class hudson.model.Descriptor |
clazz |
|
Method Summary |
java.lang.String |
getDisplayName()
|
java.lang.String |
getIconUrl()
Returns the URL of the plug-in icon (24x24 image). |
java.lang.String |
getPluginName()
Returns the name of the plug-in. |
boolean |
isApplicable(java.lang.Class<? extends hudson.model.AbstractProject> jobType)
|
WarningsPublisher |
newInstance(org.kohsuke.stapler.StaplerRequest request,
net.sf.json.JSONObject formData)
|
| Methods inherited from class hudson.tasks.BuildStepDescriptor |
filter |
| Methods inherited from class hudson.model.Descriptor |
configure, configure, convert, find, getConfigPage, getGlobalConfigPage, getViewPage, isInstance, load, newInstance, newInstancesFromHeteroList, save, toArray, toList, toMap |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getDisplayName
public java.lang.String getDisplayName()
-
- Specified by:
getDisplayName in class hudson.model.Descriptor<hudson.tasks.Publisher>
getPluginName
public java.lang.String getPluginName()
- Returns the name of the plug-in.
- Specified by:
getPluginName in class PluginDescriptor
- Returns:
- the name of the plug-in
getIconUrl
public java.lang.String getIconUrl()
- Returns the URL of the plug-in icon (24x24 image).
- Specified by:
getIconUrl in class PluginDescriptor
- Returns:
- the URL of the plug-in icon
isApplicable
public boolean isApplicable(java.lang.Class<? extends hudson.model.AbstractProject> jobType)
-
- Overrides:
isApplicable in class PluginDescriptor
newInstance
public WarningsPublisher newInstance(org.kohsuke.stapler.StaplerRequest request,
net.sf.json.JSONObject formData)
throws hudson.model.Descriptor.FormException
-
- Overrides:
newInstance in class hudson.model.Descriptor<hudson.tasks.Publisher>
- Throws:
hudson.model.Descriptor.FormException
Copyright © 2008. All Rights Reserved.