documentation

This commit is contained in:
Andreas Penski (init) 2020-05-06 10:49:12 +02:00
parent edb8427dec
commit 649ea6c0c4
5 changed files with 174 additions and 5 deletions

View file

@ -4,9 +4,17 @@ import de.kosit.validationtool.impl.ContentRepository;
import de.kosit.validationtool.impl.model.Result;
/**
* Internal interface for creating object builders.
*
* @author Andreas Penski
*/
public interface Builder<T> {
interface Builder<T> {
/**
* Creates an object based on artifacts provided via a defined {@link ContentRepository}.
*
* @param repository the {@link ContentRepository}
* @return the result of building the object
*/
Result<T, String> build(ContentRepository repository);
}