add custom tag repo and usecase
This commit is contained in:
parent
d6efbf757f
commit
c4ef8b9181
7 changed files with 90 additions and 16 deletions
16
2-Application/src/main/java/tag/CustomTagsUseCase.java
Normal file
16
2-Application/src/main/java/tag/CustomTagsUseCase.java
Normal 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);
|
||||
}
|
||||
}
|
Reference in a new issue