org.jdiagnose.library
Class JavaVersionDiagnostic

java.lang.Object
  extended byorg.jdiagnose.DiagnosticUnit
      extended byorg.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


Constructor Summary
JavaVersionDiagnostic()
           
JavaVersionDiagnostic(java.lang.String javaVersion)
          Constructor for JavaVersionDiagnostic.
 
Method Summary
 void diagnoseJavaVersion()
           
 java.lang.String getJavaVersion()
           
 boolean isJDK11only()
           
 boolean isJDK12only()
           
 boolean isJDK13only()
           
 boolean isJDK14only()
           
 boolean isJDK15andAbove()
           
 void setJavaVersion(java.lang.String string)
           
 
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
 

Constructor Detail

JavaVersionDiagnostic

public JavaVersionDiagnostic()

JavaVersionDiagnostic

public JavaVersionDiagnostic(java.lang.String javaVersion)
Constructor for JavaVersionDiagnostic.

Parameters:
javaVersion -
Method Detail

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.