Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 6e7f9152

Přidáno uživatelem Ondřej Váně před téměř 4 roky(ů)

Change detector to interface

Zobrazit rozdíly:

src/main/java/cz/zcu/fav/kiv/antipatterndetectionapp/detecting/detectors/AntiPatternDetector.java
8 8

  
9 9
import java.util.List;
10 10

  
11
public abstract class AntiPatternDetector {
11
public interface AntiPatternDetector {
12 12

  
13
    public abstract AntiPattern getAntiPatternModel();
13
    AntiPattern getAntiPatternModel();
14 14

  
15
    public abstract String getAntiPatternSqlFileName();
15
    String getAntiPatternSqlFileName();
16 16

  
17
    public abstract void setSqlQueries(List<String> queries);
17
    void setSqlQueries(List<String> queries);
18 18

  
19
    public abstract QueryResultItem analyze(Project project, DatabaseConnection databaseConnection);
19
    QueryResultItem analyze(Project project, DatabaseConnection databaseConnection);
20 20
}
src/main/java/cz/zcu/fav/kiv/antipatterndetectionapp/detecting/detectors/BusinessAsUsualDetectorImpl.java
13 13
import java.util.List;
14 14
import java.util.Map;
15 15

  
16
public class BusinessAsUsualDetectorImpl extends AntiPatternDetector {
16
public class BusinessAsUsualDetectorImpl implements AntiPatternDetector {
17 17

  
18 18
    private final Logger LOGGER = LoggerFactory.getLogger(BusinessAsUsualDetectorImpl.class);
19 19

  
src/main/java/cz/zcu/fav/kiv/antipatterndetectionapp/detecting/detectors/LongOrNonExistentFeedbackLoopsDetectorImpl.java
15 15
import java.util.List;
16 16
import java.util.Map;
17 17

  
18
public class LongOrNonExistentFeedbackLoopsDetectorImpl extends AntiPatternDetector {
18
public class LongOrNonExistentFeedbackLoopsDetectorImpl implements AntiPatternDetector {
19 19

  
20 20
    private final Logger LOGGER = LoggerFactory.getLogger(LongOrNonExistentFeedbackLoopsDetectorImpl.class);
21 21

  
src/main/java/cz/zcu/fav/kiv/antipatterndetectionapp/detecting/detectors/NinetyNinetyRuleDetectorImpl.java
12 12
import java.util.List;
13 13
import java.util.Map;
14 14

  
15
public class NinetyNinetyRuleDetectorImpl extends AntiPatternDetector {
15
public class NinetyNinetyRuleDetectorImpl implements AntiPatternDetector {
16 16

  
17 17
    private final Logger LOGGER = LoggerFactory.getLogger(BusinessAsUsualDetectorImpl.class);
18 18

  
src/main/java/cz/zcu/fav/kiv/antipatterndetectionapp/detecting/detectors/RoadToNowhereDetectorImpl.java
13 13
import java.util.ArrayList;
14 14
import java.util.List;
15 15

  
16
public class RoadToNowhereDetectorImpl extends AntiPatternDetector {
16
public class RoadToNowhereDetectorImpl implements AntiPatternDetector {
17 17

  
18 18
    private final Logger LOGGER = LoggerFactory.getLogger(SpecifyNothingDetectorImpl.class);
19 19

  
src/main/java/cz/zcu/fav/kiv/antipatterndetectionapp/detecting/detectors/SpecifyNothingDetectorImpl.java
13 13
import java.util.ArrayList;
14 14
import java.util.List;
15 15

  
16
public class SpecifyNothingDetectorImpl extends AntiPatternDetector {
16
public class SpecifyNothingDetectorImpl implements AntiPatternDetector {
17 17

  
18 18
    private final Logger LOGGER = LoggerFactory.getLogger(SpecifyNothingDetectorImpl.class);
19 19

  
src/main/java/cz/zcu/fav/kiv/antipatterndetectionapp/detecting/detectors/TooLongSprintDetectorImpl.java
13 13
import java.util.ArrayList;
14 14
import java.util.List;
15 15

  
16
public class TooLongSprintDetectorImpl extends AntiPatternDetector {
16
public class TooLongSprintDetectorImpl implements AntiPatternDetector {
17 17

  
18 18
    private final Logger LOGGER = LoggerFactory.getLogger(TooLongSprintDetectorImpl.class);
19 19

  
src/main/java/cz/zcu/fav/kiv/antipatterndetectionapp/detecting/detectors/VaryingSprintLengthDetectorImpl.java
13 13
import java.util.ArrayList;
14 14
import java.util.List;
15 15

  
16
public class VaryingSprintLengthDetectorImpl extends AntiPatternDetector {
16
public class VaryingSprintLengthDetectorImpl implements AntiPatternDetector {
17 17

  
18 18
    private final Logger LOGGER = LoggerFactory.getLogger(VaryingSprintLengthDetectorImpl.class);
19 19

  

Také k dispozici: Unified diff