|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthudson.model.Descriptor<Trigger<?>>
hudson.triggers.TriggerDescriptor
public abstract class TriggerDescriptor
Descriptor
for Trigger.
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 |
Fields inherited from interface hudson.model.Saveable |
---|
NOOP |
Constructor Summary | |
---|---|
protected |
TriggerDescriptor()
Infers the type of the corresponding SCM from the outer class. |
protected |
TriggerDescriptor(Class<? extends Trigger<?>> clazz)
|
Method Summary | |
---|---|
abstract boolean |
isApplicable(Item item)
Returns true if this trigger is applicable to the given Item . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected TriggerDescriptor(Class<? extends Trigger<?>> clazz)
protected TriggerDescriptor()
SCM
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 abstract boolean isApplicable(Item item)
Item
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |