org.jdiagnose.library
Class JavaVersionDiagnostic
java.lang.Object
org.jdiagnose.DiagnosticUnit
org.jdiagnose.library.JavaVersionDiagnostic
- All Implemented Interfaces:
- Diagnostic, DiagnosticContainer, DiagnosticUnitLifeCycle
- public class JavaVersionDiagnostic
- extends DiagnosticUnit
User: jamie
Date: May 31, 2004
Time: 8:12:36 PM
Methods inherited from class org.jdiagnose.DiagnosticUnit |
assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertTrue, assertTrue, diagnose, getDiagnosticContainers, getDiagnostics, getName, setUp, tearDown |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaVersionDiagnostic
public JavaVersionDiagnostic()
JavaVersionDiagnostic
public JavaVersionDiagnostic(java.lang.String javaVersion)
- Constructor for JavaVersionDiagnostic.
- Parameters:
javaVersion
-
diagnoseJavaVersion
public void diagnoseJavaVersion()
throws DiagnosticException
- Throws:
DiagnosticException
isJDK11only
public boolean isJDK11only()
isJDK12only
public boolean isJDK12only()
isJDK13only
public boolean isJDK13only()
isJDK14only
public boolean isJDK14only()
isJDK15andAbove
public boolean isJDK15andAbove()
getJavaVersion
public java.lang.String getJavaVersion()
- Returns:
setJavaVersion
public void setJavaVersion(java.lang.String string)
- Parameters:
string
-
Copyright © 2004-2005 Grape Design Limited. All Rights Reserved.