import net.pterodactylus.sone.data.Profile;
import net.pterodactylus.sone.data.Reply;
import net.pterodactylus.sone.data.Sone;
+import net.pterodactylus.sone.freenet.wot.WebOfTrustConnector;
import net.pterodactylus.util.config.Configuration;
import net.pterodactylus.util.config.ConfigurationException;
import net.pterodactylus.util.filter.Filter;
/** Interface to freenet. */
private FreenetInterface freenetInterface;
+ /** The WoT connector. */
+ private WebOfTrustConnector webOfTrustConnector;
+
/** The Sone downloader. */
private SoneDownloader soneDownloader;
}
/**
+ * Returns the Web of Trust connector.
+ *
+ * @return The Web of Trust connector
+ */
+ public WebOfTrustConnector getWebOfTrustConnector() {
+ return webOfTrustConnector;
+ }
+
+ /**
+ * Sets the Web of Trust connector.
+ *
+ * @param webOfTrustConnector
+ * The Web of Trust connector
+ * @return This core (for method chaining)
+ */
+ public Core setWebOfTrustConnector(WebOfTrustConnector webOfTrustConnector) {
+ this.webOfTrustConnector = webOfTrustConnector;
+ return this;
+ }
+
+ /**
* Returns the local Sones.
*
* @return The local Sones