Class SCM2

java.lang.Object
hudson.scm.SCM
jenkins.scm.api.SCM2
All Implemented Interfaces:
ExtensionPoint, Describable<SCM>

public abstract class SCM2 extends SCM
Extended functionality base class for SCM implementations that only want to handle one event system and are consolidating on the SCM API event system. It is not strictly required to extend from this class in place of SCM but typically implementations would need to have the functionality made available from afterSave(SCMTriggerItem) and/or getItemActions(SCMTriggerItem). Implementations that do not require these features can get integration with the SCM API event subsystem by implementing SCMHeadEvent.isMatch(SCM).
Since:
2.0
See Also: