@Beta
public interface JavaVersion
Modifier and Type | Method and Description |
---|---|
int |
asInt()
get java version as integer
|
boolean |
isJava7Compatible()
Test if java version of the project is greater than or equal to 7.
|
boolean |
isJava8Compatible()
Test if java version of the project is greater than or equal to 8.
|
boolean |
isNotSet()
Test if java version has been set for the analysis.
|
String |
java7CompatibilityMessage()
Default compatibility message with java 7
|
String |
java8CompatibilityMessage()
Default compatibility message with java 8
|
boolean isJava7Compatible()
boolean isJava8Compatible()
int asInt()
boolean isNotSet()
String java7CompatibilityMessage()
String java8CompatibilityMessage()
Copyright © 2012–2017 SonarSource. All rights reserved.