All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.annot8.common.implementations.factories.GroupBuilderFactory Maven / Gradle / Ivy

There is a newer version: 0.2.0
Show newest version
/* 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