Package hudson.scm
Class SubversionRepositoryStatus.Listener
- java.lang.Object
-
- hudson.scm.SubversionRepositoryStatus.Listener
-
- All Implemented Interfaces:
ExtensionPoint
- Direct Known Subclasses:
SubversionRepositoryStatus.JobTriggerListenerImpl
,SubversionSCMSource.ListenerImpl
- Enclosing class:
- SubversionRepositoryStatus
public abstract static class SubversionRepositoryStatus.Listener extends Object implements ExtensionPoint
An extension point to allow things other than jobs to listen for repository status updates.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description Listener()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract boolean
onNotify(UUID uuid, long revision, Set<String> affectedPaths)
Called when a post-commit hook notification has been received.
-
-
-
Method Detail
-
onNotify
public abstract boolean onNotify(UUID uuid, long revision, Set<String> affectedPaths)
Called when a post-commit hook notification has been received.- Parameters:
uuid
- the UUID of the repository against which the hook was received.revision
- the revision (if known) or-1
if unknown.- Returns:
true
if a match for the UUID was found and something was scheduled as a result.
-
-