Search in sources :

Example 1 with DseVersion

use of com.datastax.driver.core.utils.DseVersion in project java-driver by datastax.

the class TestListener method scanAnnotatedElement.

private boolean scanAnnotatedElement(AnnotatedElement element) {
    if (element.isAnnotationPresent(CassandraVersion.class)) {
        CassandraVersion cassandraVersion = element.getAnnotation(CassandraVersion.class);
        cassandraVersionCheck(cassandraVersion);
        return true;
    }
    if (element.isAnnotationPresent(DseVersion.class)) {
        DseVersion dseVersion = element.getAnnotation(DseVersion.class);
        dseVersionCheck(dseVersion);
        return true;
    }
    return false;
}
Also used : DseVersion(com.datastax.driver.core.utils.DseVersion) CassandraVersion(com.datastax.driver.core.utils.CassandraVersion)

Aggregations

CassandraVersion (com.datastax.driver.core.utils.CassandraVersion)1 DseVersion (com.datastax.driver.core.utils.DseVersion)1