Package io.jenkins.plugins.generic.event
Class EventGlobalConfiguration
java.lang.Object
hudson.model.Descriptor<GlobalConfiguration>
jenkins.model.GlobalConfiguration
io.jenkins.plugins.generic.event.EventGlobalConfiguration
- All Implemented Interfaces:
ExtensionPoint,Describable<GlobalConfiguration>,Saveable,Loadable,OnMaster
@Extension(ordinal=100.0)
@Symbol("eventDispatcher")
public class EventGlobalConfiguration
extends GlobalConfiguration
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.SelfNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from class hudson.model.Descriptor
clazz -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanconfigure(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject json) static EventGlobalConfigurationget()booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanmatchesJobNamePattern(String jobName) Checks if a job name matches any of the configured regex patterns.voidsetJobNamePatterns(String jobNamePatterns) voidsetReceiver(String receiver) voidsetSendItemCreated(boolean sendItemCreated) voidsetSendItemDeleted(boolean sendItemDeleted) voidsetSendItemLocationChanged(boolean sendItemLocationChanged) voidsetSendItemUpdated(boolean sendItemUpdated) voidsetSendRunCompleted(boolean sendRunCompleted) voidsetSendRunDeleted(boolean sendRunDeleted) voidsetSendRunFinalized(boolean sendRunFinalized) voidsetSendRunInitialized(boolean sendRunInitialized) voidsetSendRunStarted(boolean sendRunStarted) Methods inherited from class jenkins.model.GlobalConfiguration
all, configure, getDescriptor, getGlobalConfigPageMethods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
EventGlobalConfiguration
public EventGlobalConfiguration()
-
-
Method Details
-
get
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject json) - Overrides:
configurein classGlobalConfiguration
-
getDisplayName
- Overrides:
getDisplayNamein classDescriptor<GlobalConfiguration>
-
getReceiver
-
setReceiver
-
getJobNamePatterns
-
setJobNamePatterns
-
matchesJobNamePattern
Checks if a job name matches any of the configured regex patterns. If no patterns are configured, returns true (allow all).- Parameters:
jobName- The full name of the job/item to check- Returns:
- true if the job name matches at least one pattern or no patterns are configured
-
isSendRunStarted
public boolean isSendRunStarted() -
setSendRunStarted
@DataBoundSetter public void setSendRunStarted(boolean sendRunStarted) -
isSendRunCompleted
public boolean isSendRunCompleted() -
setSendRunCompleted
@DataBoundSetter public void setSendRunCompleted(boolean sendRunCompleted) -
isSendRunFinalized
public boolean isSendRunFinalized() -
setSendRunFinalized
@DataBoundSetter public void setSendRunFinalized(boolean sendRunFinalized) -
isSendRunInitialized
public boolean isSendRunInitialized() -
setSendRunInitialized
@DataBoundSetter public void setSendRunInitialized(boolean sendRunInitialized) -
isSendRunDeleted
public boolean isSendRunDeleted() -
setSendRunDeleted
@DataBoundSetter public void setSendRunDeleted(boolean sendRunDeleted) -
isSendItemCreated
public boolean isSendItemCreated() -
setSendItemCreated
@DataBoundSetter public void setSendItemCreated(boolean sendItemCreated) -
isSendItemDeleted
public boolean isSendItemDeleted() -
setSendItemDeleted
@DataBoundSetter public void setSendItemDeleted(boolean sendItemDeleted) -
isSendItemUpdated
public boolean isSendItemUpdated() -
setSendItemUpdated
@DataBoundSetter public void setSendItemUpdated(boolean sendItemUpdated) -
isSendItemLocationChanged
public boolean isSendItemLocationChanged() -
setSendItemLocationChanged
@DataBoundSetter public void setSendItemLocationChanged(boolean sendItemLocationChanged)
-