♻️ Move constants out of the class
[Sone.git] / src / main / kotlin / net / pterodactylus / sone / database / SoneBuilder.kt
1 package net.pterodactylus.sone.database
2
3 import net.pterodactylus.sone.data.Sone
4 import net.pterodactylus.sone.freenet.wot.Identity
5
6 /**
7  * Builder for [Sone] objects.
8  */
9 interface SoneBuilder {
10
11         fun from(identity: Identity): SoneBuilder
12         fun local(): SoneBuilder
13
14         fun build(): Sone
15
16 }