|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.model.Descriptor<IvyReporter>
hudson.ivy.IvyReporterDescriptor
public abstract class IvyReporterDescriptor
Descriptor for IvyReporter.
| 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 | |
|---|---|
protected |
IvyReporterDescriptor()
Infers the type of the corresponding Describable from the outer class. |
protected |
IvyReporterDescriptor(java.lang.Class<? extends IvyReporter> clazz)
|
| Method Summary | |
|---|---|
static java.util.Collection<IvyReporterDescriptor> |
all()
Lists all the currently registered instances of IvyReporterDescriptor. |
boolean |
hasConfigScreen()
Returns true if this descriptor has config.jelly. |
IvyReporter |
newAutoInstance(IvyModule module)
Returns an instance used for automatic IvyReporter activation. |
IvyReporter |
newInstance(org.kohsuke.stapler.StaplerRequest req)
Deprecated. |
| Methods inherited from class hudson.model.Descriptor |
|---|
calcFillSettings, configure, configure, doHelp, find, find, getCheckUrl, getConfigPage, getDescriptorUrl, getDisplayName, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getJsonSafeClassName, getPropertyType, getPropertyType, getViewPage, isInstance, isSubTypeOf, 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 |
| Constructor Detail |
|---|
protected IvyReporterDescriptor(java.lang.Class<? extends IvyReporter> clazz)
protected IvyReporterDescriptor()
Describable from the outer class.
This version works when you follow the common convention, where a descriptor
is written as the static nested class of the describable class.
| Method Detail |
|---|
public IvyReporter newAutoInstance(IvyModule module)
IvyReporter activation.
Some IvyReporters, such as IvyArtifactArchiver, can work
just with the configuration in the Ivy descriptor and don't need any
additional Hudson configuration. They also don't need any explicit
enabling/disabling as they can activate themselves by listening to the
callback from the build (for example javadoc archiver can do the work in
response to the execution of the javadoc target.)
Those IvyReporters should return a valid instance from this
method. Such instance will then participate into the build and receive
event callbacks.
@Deprecated
public IvyReporter newInstance(org.kohsuke.stapler.StaplerRequest req)
throws hudson.model.Descriptor.FormException
the reporter has no configuration screen,
this method can safely return null, which is the default implementation.
newInstance in class hudson.model.Descriptor<IvyReporter>hudson.model.Descriptor.FormExceptionpublic final boolean hasConfigScreen()
public static java.util.Collection<IvyReporterDescriptor> all()
IvyReporterDescriptor.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||