@Extension @Symbol(value="upstream") public static final class ReverseBuildTrigger.DescriptorImpl extends TriggerDescriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
clazz
Constructor and Description |
---|
DescriptorImpl() |
Modifier and Type | Method and Description |
---|---|
AutoCompletionCandidates |
doAutoCompleteUpstreamProjects(String value,
Item self,
ItemGroup container) |
FormValidation |
doCheckUpstreamProjects(Job project,
String value) |
String |
getDisplayName()
Human readable name of this kind of configurable object.
|
boolean |
isApplicable(Item item)
Returns true if this trigger is applicable to the
given
Item . |
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, 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
public String getDisplayName()
Descriptor
Class.getSimpleName()
on Descriptor.clazz
, so for example MyThing
from some.pkg.MyThing.DescriptorImpl
.
Historically some implementations returned null as a way of hiding the descriptor from the UI,
but this is generally managed by an explicit method such as isEnabled
or isApplicable
.getDisplayName
in class Descriptor<Trigger<?>>
public boolean isApplicable(Item item)
TriggerDescriptor
Item
.isApplicable
in class TriggerDescriptor
public AutoCompletionCandidates doAutoCompleteUpstreamProjects(@QueryParameter String value, @AncestorInPath Item self, @AncestorInPath ItemGroup container)
public FormValidation doCheckUpstreamProjects(@AncestorInPath Job project, @QueryParameter String value)
Copyright © 2004–2021. All rights reserved.