package net.brutus5000.bireus.service;

import org.jgrapht.GraphPath;
import org.jgrapht.graph.DefaultEdge;

import java.net.URL;
import java.nio.file.Path;

public interface NotificationService {
    void error(String message);

    void beginCheckoutVersion(String version);

    void finishCheckoutVersion(String version);

    void checkedOutAlready(String version);

    void versionUnknown(String version);

    void noPatchPath(String version);

    void beginApplyPatch(String fromVersion, String toVersion);

    void finishApplyPatch(String fromVersion, String toVersion);

    void beginDownloadPatch(URL url);

    void finishDownloadPatch(URL url);

    void beginPatchingDirectory(Path path);

    void finishPatchingDirectory(Path path);

    void beginPatchingFile(Path path);

    void finishPatchingFile(Path path);

    void foundPatchPath(GraphPath<String, DefaultEdge> patchPath);

    void crcMismatch(Path patchPath);
}

@@ -190,24 +190,32 @@
 rvice %7B%0A    
+default 
 void error(S
@@ -228,22 +228,37 @@
 message)
-;%0A%0A   
+ %7B%0A    %7D%0A%0A    default
  void be
@@ -287,30 +287,45 @@
 ing version)
-;%0A%0A   
+ %7B%0A    %7D%0A%0A    default
  void finish
@@ -351,30 +351,45 @@
 ing version)
-;%0A%0A   
+ %7B%0A    %7D%0A%0A    default
  void checke
@@ -411,30 +411,45 @@
 ing version)
-;%0A%0A   
+ %7B%0A    %7D%0A%0A    default
  void versio
@@ -468,30 +468,45 @@
 ing version)
-;%0A%0A   
+ %7B%0A    %7D%0A%0A    default
  void noPatc
@@ -522,30 +522,45 @@
 ing version)
-;%0A%0A   
+ %7B%0A    %7D%0A%0A    default
  void beginA
@@ -602,30 +602,45 @@
 g toVersion)
-;%0A%0A   
+ %7B%0A    %7D%0A%0A    default
  void finish
@@ -687,22 +687,37 @@
 Version)
-;%0A%0A   
+ %7B%0A    %7D%0A%0A    default
  void be
@@ -737,30 +737,45 @@
 tch(URL url)
-;%0A%0A   
+ %7B%0A    %7D%0A%0A    default
  void finish
@@ -796,22 +796,37 @@
 URL url)
-;%0A%0A   
+ %7B%0A    %7D%0A%0A    default
  void be
@@ -848,38 +848,53 @@
 ctory(Path path)
-;%0A%0A   
+ %7B%0A    %7D%0A%0A    default
  void finishPatc
@@ -913,30 +913,45 @@
 y(Path path)
-;%0A%0A   
+ %7B%0A    %7D%0A%0A    default
  void beginP
@@ -968,30 +968,45 @@
 e(Path path)
-;%0A%0A   
+ %7B%0A    %7D%0A%0A    default
  void finish
@@ -1024,30 +1024,45 @@
 e(Path path)
-;%0A%0A   
+ %7B%0A    %7D%0A%0A    default
  void foundP
@@ -1115,14 +1115,29 @@
 ath)
-;%0A%0A   
+ %7B%0A    %7D%0A%0A    default
  voi
@@ -1165,12 +1165,19 @@
 tchPath)
-;
+ %7B%0A    %7D
 %0A%7D%0A

Add empty default implementations for notification service