Class SvnJavaUtil.GenericEventHandler

  • All Implemented Interfaces:
    org.tmatesoft.svn.core.ISVNCanceller, org.tmatesoft.svn.core.wc.ISVNEventHandler
    Enclosing class:
    SvnJavaUtil

    public static class SvnJavaUtil.GenericEventHandler
    extends java.lang.Object
    implements org.tmatesoft.svn.core.wc.ISVNEventHandler
    Generic event handler that collects all events internally and will return them with a call to getEvents()
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.List<org.tmatesoft.svn.core.wc.SVNEvent> events  
      • Fields inherited from interface org.tmatesoft.svn.core.ISVNCanceller

        NULL
      • Fields inherited from interface org.tmatesoft.svn.core.wc.ISVNEventHandler

        UNKNOWN
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void checkCancelled()  
      void clearEvents()  
      java.util.List<org.tmatesoft.svn.core.wc.SVNEvent> getEvents()  
      void handleEvent​(org.tmatesoft.svn.core.wc.SVNEvent event, double progress)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • events

        private java.util.List<org.tmatesoft.svn.core.wc.SVNEvent> events
    • Constructor Detail

      • GenericEventHandler

        public GenericEventHandler()
    • Method Detail

      • handleEvent

        public void handleEvent​(org.tmatesoft.svn.core.wc.SVNEvent event,
                                double progress)
        Specified by:
        handleEvent in interface org.tmatesoft.svn.core.wc.ISVNEventHandler
      • checkCancelled

        public void checkCancelled()
                            throws org.tmatesoft.svn.core.SVNCancelException
        Specified by:
        checkCancelled in interface org.tmatesoft.svn.core.ISVNCanceller
        Throws:
        org.tmatesoft.svn.core.SVNCancelException
      • getEvents

        public java.util.List<org.tmatesoft.svn.core.wc.SVNEvent> getEvents()
      • clearEvents

        public void clearEvents()