hudson.tasks
Class BuildWrapperDescriptor
java.lang.Object
hudson.model.Descriptor<BuildWrapper>
hudson.tasks.BuildWrapperDescriptor
- All Implemented Interfaces:
- Saveable
- Direct Known Subclasses:
- HudsonTestCase.TestBuildWrapper.TestBuildWrapperDescriptor, JenkinsRule.TestBuildWrapper.TestBuildWrapperDescriptor
public abstract class BuildWrapperDescriptor
- extends Descriptor<BuildWrapper>
Descriptor
for BuildWrapper
.
- Since:
- 1.150
- Author:
- Kohsuke Kawaguchi
Methods inherited from class hudson.model.Descriptor |
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BuildWrapperDescriptor
protected BuildWrapperDescriptor(Class<? extends BuildWrapper> clazz)
BuildWrapperDescriptor
protected BuildWrapperDescriptor()
- Infers the type of the corresponding
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.
- Since:
- 1.278
isApplicable
public abstract boolean isApplicable(AbstractProject<?,?> item)
- Returns true if this task is applicable to the given project.
- Returns:
- true to allow user to configure this post-promotion task for the given project.
- See Also:
AbstractProject.AbstractProjectDescriptor.isApplicable(Descriptor)
Copyright © 2004-2013. All Rights Reserved.