1 17 package org.apache.geronimo.system.plugin; 18 19 import org.apache.geronimo.kernel.repository.Artifact; 20 21 29 public interface DownloadPoller { 30 34 void addRemovedConfigID(Artifact obsolete); 35 36 42 void addInstalledConfigID(Artifact target); 43 44 51 void addRestartedConfigID(Artifact target); 52 53 58 void addDependencyPresent(Artifact dep); 59 60 65 void addDependencyInstalled(Artifact dep); 66 67 72 void setCurrentFile(String currentFile); 73 74 78 void setCurrentMessage(String currentMessage); 79 80 86 void setCurrentFilePercent(int currentFileProgress); 87 88 95 void addDownloadBytes(long bytes); 96 97 102 void setFailure(Exception failure); 103 104 108 void setFinished(); 109 } 110 | Popular Tags |