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.
  • Constructor Details

    • Listener

      public Listener()
  • Method Details

    • 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.