Commit e4e645ce7802faa29aac583441f96a75a7231927
1 parent
f0b56a49
Exists in
master
and in
1 other branch
Adicionados novos métodos para o depara com o eselo
Showing
1 changed file
with
6 additions
and
1 deletions
Show diff stats
src/main/java/br/com/ases/business/AvaliacaoBusiness.java
... | ... | @@ -2,9 +2,11 @@ package br.com.ases.business; |
2 | 2 | |
3 | 3 | import java.util.List; |
4 | 4 | import java.util.Map; |
5 | +import java.util.Map.Entry; | |
5 | 6 | |
6 | 7 | import javax.servlet.ServletContext; |
7 | 8 | |
9 | +import net.htmlparser.jericho.Source; | |
8 | 10 | import br.com.ases.controller.EseloController.Nota; |
9 | 11 | import br.com.ases.domain.OccurrenceKey; |
10 | 12 | import br.com.checker.emag.Occurrence; |
... | ... | @@ -13,8 +15,11 @@ import br.com.checker.emag.SummarizedOccurrence; |
13 | 15 | |
14 | 16 | |
15 | 17 | public interface AvaliacaoBusiness { |
16 | - Nota obterNota(List<SummarizedOccurrence> occurrences,String url); | |
18 | + Nota obterNota(List<SummarizedOccurrence> occurrences,String url, List<Entry<OccurrenceKey,List<Occurrence>>> mapaListaOcorrencias); | |
19 | + Nota obterNotaEselo(Source html, String url, List<Entry<OccurrenceKey,List<Occurrence>>> mapaListaOcorrencias); | |
17 | 20 | Map<OccurrenceKey,Map<String,List<Occurrence>>> retornarCriterios(Map<OccurrenceClassification,List<Occurrence>> resultadoAvaliacao); |
21 | + List<Entry<OccurrenceKey,List<Occurrence>>> retornarCriteriosTeste(Map<OccurrenceClassification,List<Occurrence>> resultadoAvaliacao); | |
18 | 22 | void initEseloProperties(ServletContext servletContext); |
23 | + void initDeparaAsesComEseloProperties(ServletContext servletContext); | |
19 | 24 | public int[] getErrorCount(boolean isCss,String url); |
20 | 25 | } | ... | ... |