Package jenkins.scm
Class SCMDecisionHandler
java.lang.Object
jenkins.scm.SCMDecisionHandler
- All Implemented Interfaces:
 ExtensionPoint
Extension point for various decisions about SCM operations for 
Item instances.- Since:
 - 2.11
 
- 
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic ExtensionList<SCMDecisionHandler>all()All registeredSCMDecisionHandlersstatic SCMDecisionHandlerfirstShouldPollVeto(Item item) static List<SCMDecisionHandler>listShouldPollVetos(Item item) abstract booleanshouldPoll(Item item) This handler is consulted every time someone tries to run a polling of anItem. 
- 
Constructor Details
- 
SCMDecisionHandler
public SCMDecisionHandler() 
 - 
 - 
Method Details
- 
shouldPoll
This handler is consulted every time someone tries to run a polling of anItem. If any of the registered handlers returns false, theItemwill not be polled.- Parameters:
 item- The item.
 - 
all
All registeredSCMDecisionHandlers - 
firstShouldPollVeto
- Parameters:
 item- the item- Returns:
 - the first veto or 
nullif there are no vetos 
 - 
listShouldPollVetos
- Parameters:
 item- the item- Returns:
 - the 
SCMDecisionHandlerinstances vetoing the polling of the specified item. 
 
 -