class SerecoFalsePositiveFinder {

    public boolean isFound(SerecoVulnerability vulnerability, FalsePositiveMetaData metaData) {
        if (! isVulnerabilityValid(vulnerability)) {
            return false;
        }
        if (! isMetaDataValid(metaData)) {
            return false;
        }
        switch (vulnerability.getScanType()) {
        case CODE_SCAN:
            return codeSCanStrategy.isFalsePositive(vulnerability, metaData);
        default:
            return false;
        }
    }

}