|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.model.Descriptor<T>
hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
hudson.plugins.analysis.core.PluginDescriptor
hudson.plugins.warnings.WarningsDescriptor
@Extension(ordinal=100.0) public final class WarningsDescriptor
Descriptor for the class WarningsPublisher. Used as a singleton. The
class is marked as public so that it can be accessed from views.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class hudson.model.Descriptor |
|---|
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType |
| Field Summary |
|---|
| Fields inherited from class hudson.model.Descriptor |
|---|
clazz |
| Fields inherited from interface hudson.model.Saveable |
|---|
NOOP |
| Constructor Summary | |
|---|---|
WarningsDescriptor()
Instantiates a new WarningsDescriptor. |
|
WarningsDescriptor(boolean loadConfiguration)
Instantiates a new WarningsDescriptor. |
|
| Method Summary | |
|---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
|
hudson.util.FormValidation |
doCheckExample(java.lang.String example,
java.lang.String regexp,
java.lang.String script)
Parses the example message with the specified regular expression and script. |
hudson.util.FormValidation |
doCheckName(java.lang.String name)
Performs on-the-fly validation on the name of the parser that needs to be unique. |
hudson.util.FormValidation |
doCheckRegexp(java.lang.String regexp)
Performs on-the-fly validation on the regular expression. |
hudson.util.FormValidation |
doCheckScript(java.lang.String script)
Performs on-the-fly validation on the Groovy script. |
java.lang.String |
getDisplayName()
|
java.lang.String |
getIconUrl()
|
hudson.util.CopyOnWriteList<GroovyParser> |
getParsers()
Returns the configured Groovy parsers. |
java.lang.String |
getPluginName()
|
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.plugins.analysis.core.PluginDescriptor |
|---|
doCheckDefaultEncoding, doCheckExcludePattern, doCheckHeight, doCheckIncludePattern, doCheckPattern, doCheckThreshold, getHelpFile, getPluginResultUrlName, getPluginRoot |
| Methods inherited from class hudson.tasks.BuildStepDescriptor |
|---|
filter |
| Methods inherited from class hudson.model.Descriptor |
|---|
calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, getCheckUrl, getConfigPage, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getId, getJsonSafeClassName, getPropertyType, getPropertyType, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, toArray, toList, toMap |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WarningsDescriptor()
WarningsDescriptor.
public WarningsDescriptor(boolean loadConfiguration)
WarningsDescriptor.
loadConfiguration - determines whether the values of this instance should be
loaded from disk| Method Detail |
|---|
public java.lang.String getDisplayName()
getDisplayName in class hudson.model.Descriptor<hudson.tasks.Publisher>public java.lang.String getPluginName()
getPluginName in class hudson.plugins.analysis.core.PluginDescriptorpublic java.lang.String getIconUrl()
getIconUrl in class hudson.plugins.analysis.core.PluginDescriptorpublic boolean isApplicable(java.lang.Class<? extends hudson.model.AbstractProject> jobType)
isApplicable in class hudson.plugins.analysis.core.PluginDescriptor
public WarningsPublisher newInstance(org.kohsuke.stapler.StaplerRequest request,
net.sf.json.JSONObject formData)
throws hudson.model.Descriptor.FormException
newInstance in class hudson.model.Descriptor<hudson.tasks.Publisher>hudson.model.Descriptor.FormExceptionpublic hudson.util.CopyOnWriteList<GroovyParser> getParsers()
public boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
configure in class hudson.model.Descriptor<hudson.tasks.Publisher>
public hudson.util.FormValidation doCheckName(@QueryParameter(required=true)
java.lang.String name)
name - the name of the parser
public hudson.util.FormValidation doCheckRegexp(@QueryParameter(required=true)
java.lang.String regexp)
regexp - the regular expression
public hudson.util.FormValidation doCheckScript(@QueryParameter(required=true)
java.lang.String script)
script - the script
public hudson.util.FormValidation doCheckExample(@QueryParameter
java.lang.String example,
@QueryParameter
java.lang.String regexp,
@QueryParameter
java.lang.String script)
example - example that should be resolve to a warningregexp - the regular expressionscript - the script
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||