|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object hudson.model.Descriptor<T> hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher> hudson.plugins.violations.hudson.ViolationsFreestyleDescriptor
public final class ViolationsFreestyleDescriptor
A class for the plugin freestyle (and other?) configuration screen in hudson.
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 | |
---|---|
ViolationsFreestyleDescriptor()
a constructor. |
Method Summary | |
---|---|
ViolationsConfig |
getConfig()
Return a default config to be used for configuration screen. |
java.lang.String |
getDisplayName()
Get the name to display in the configuration screen for projects. |
java.lang.String |
getHelpFile()
Get the help file for the configuration screen. |
boolean |
isApplicable(java.lang.Class<? extends hudson.model.AbstractProject> jobType)
Magic code to disable this publisher/descriptor appearing the the m2 project page. |
boolean |
isFreeStyle()
Return true that tis is free style descriptor. |
hudson.tasks.Publisher |
newInstance(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
Create a new instance of the ViolationsPublisher. |
Methods inherited from class hudson.tasks.BuildStepDescriptor |
---|
filter |
Methods inherited from class hudson.model.Descriptor |
---|
calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, getCheckUrl, getConfigPage, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getId, getJsonSafeClassName, getPropertyType, getPropertyType, getT, 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 ViolationsFreestyleDescriptor()
Method Detail |
---|
public java.lang.String getDisplayName()
getDisplayName
in class hudson.model.Descriptor<hudson.tasks.Publisher>
public java.lang.String getHelpFile()
getHelpFile
in class hudson.model.Descriptor<hudson.tasks.Publisher>
public hudson.tasks.Publisher newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
newInstance
in class hudson.model.Descriptor<hudson.tasks.Publisher>
req
- the reqest parameters from stapler.
public ViolationsConfig getConfig()
public boolean isFreeStyle()
public boolean isApplicable(java.lang.Class<? extends hudson.model.AbstractProject> jobType)
isApplicable
in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |