Package hudson.triggers
Class TriggerDescriptor
- java.lang.Object
-
- hudson.model.Descriptor<Trigger<?>>
-
- hudson.triggers.TriggerDescriptor
-
- Direct Known Subclasses:
ReverseBuildTrigger.DescriptorImpl
,SCMTrigger.DescriptorImpl
,TimerTrigger.DescriptorImpl
public abstract class TriggerDescriptor extends Descriptor<Trigger<?>>
Descriptor
for Trigger.- Author:
- Kohsuke Kawaguchi
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
-
Field Summary
-
Fields inherited from class hudson.model.Descriptor
clazz
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
TriggerDescriptor()
Infers the type of the correspondingSCM
from the outer class.protected
TriggerDescriptor(Class<? extends Trigger<?>> clazz)
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract boolean
isApplicable(Item item)
Returns true if this trigger is applicable to the givenItem
.-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Constructor Detail
-
TriggerDescriptor
protected TriggerDescriptor()
Infers the type of the correspondingSCM
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
-
-