mirror of
https://github.com/itplr-kosit/validator.git
synced 2026-05-26 01:05:38 +00:00
documentation
This commit is contained in:
parent
edb8427dec
commit
649ea6c0c4
5 changed files with 174 additions and 5 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue