projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
♻️ Turn plugin year into instance method
[Sone.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
sone
/
core
/
SoneDownloader.java
diff --git
a/src/main/java/net/pterodactylus/sone/core/SoneDownloader.java
b/src/main/java/net/pterodactylus/sone/core/SoneDownloader.java
index
7270662
..
0ff66fd
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/core/SoneDownloader.java
+++ b/
src/main/java/net/pterodactylus/sone/core/SoneDownloader.java
@@
-5,20
+5,19
@@
import net.pterodactylus.util.service.Service;
import freenet.keys.FreenetURI;
import freenet.keys.FreenetURI;
+import com.google.inject.ImplementedBy;
+
/**
* Downloads and parses Sone and {@link Core#updateSone(Sone) updates the
* core}.
/**
* Downloads and parses Sone and {@link Core#updateSone(Sone) updates the
* core}.
- *
- * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
*/
*/
+@ImplementedBy(SoneDownloaderImpl.class)
public interface SoneDownloader extends Service {
void addSone(Sone sone);
public interface SoneDownloader extends Service {
void addSone(Sone sone);
- void fetchSone(Sone sone);
- void fetchSone(Sone sone, FreenetURI soneUri);
Sone fetchSone(Sone sone, FreenetURI soneUri, boolean fetchOnly);
Sone fetchSone(Sone sone, FreenetURI soneUri, boolean fetchOnly);
- Runnable fetchSone
WithUri
Action(Sone sone);
- Runnable fetchSoneAction(Sone sone);
+ Runnable fetchSone
AsUsk
Action(Sone sone);
+ Runnable fetchSoneA
sSskA
ction(Sone sone);
}
}