add custom tag repo and usecase

This commit is contained in:
qvalentin 2022-04-22 12:53:24 +02:00
parent d6efbf757f
commit c4ef8b9181
Signed by: qvalentin
GPG key ID: C979FA1EAFCABF1C
7 changed files with 90 additions and 16 deletions

View file

@ -0,0 +1,16 @@
package tag;
import tag.matcherImplementations.CustomTagMatcher;
public class CustomTagsUseCase {
private final TagMatcherRepository tagMatcherRepository;
public CustomTagsUseCase(TagMatcherRepository tagMatcherRepository) {
this.tagMatcherRepository = tagMatcherRepository;
}
public void addCustomTagMatcher(CustomTagMatcher customTagMatcher) {
tagMatcherRepository.addCustomTagMatcher(customTagMatcher);
}
}