import java.util.Collection;
import net.pterodactylus.sone.data.Client;
+import net.pterodactylus.sone.data.LocalSone;
import net.pterodactylus.sone.data.Post;
import net.pterodactylus.sone.data.PostReply;
import net.pterodactylus.sone.data.Sone;
public interface SoneBuilder {
SoneBuilder from(Identity identity);
- SoneBuilder local();
SoneBuilder lastUpdated(long lastUpdated);
SoneBuilder using(Client client);
SoneBuilder withPostReplies(Collection<PostReply> postReplies);
Sone build() throws IllegalStateException;
+ LocalSone buildLocal() throws IllegalStateException;
}