io.annot8.common.implementations.factories.GroupBuilderFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of annot8-common-implementations Show documentation
Show all versions of annot8-common-implementations Show documentation
Common functionality used by Annot8 implementations
/* Annot8 (annot8.io) - Licensed under Apache-2.0. */
package io.annot8.common.implementations.factories;
import io.annot8.common.implementations.stores.SaveCallback;
import io.annot8.core.annotations.Group;
import io.annot8.core.data.Item;
import io.annot8.core.stores.GroupStore;
/**
* Factory to create an group builder.
*
* Typically used in a GroupStore.getBuilder().
*/
@FunctionalInterface
public interface GroupBuilderFactory {
/**
* Create a new builder for the provided item.
*
* @param item the item owning this content
* @param groupStore the group store
* @param saver the save callback used by builder
* @return non-null
*/
Group.Builder create(Item item, GroupStore groupStore, SaveCallback saver);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy