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;
}
Aggregations