org.netbeans.modules.jellytools.platform/3 3.13

org.netbeans.jellytools
Class JellyVersion

java.lang.Object
  extended by org.netbeans.jellytools.JellyVersion

public class JellyVersion
extends Object

Class to obtain version of jellytools and to check whether user run tests on correct Jemmy version.
Information about versions is stored in org/netbeans/jellytools/version_info file. To check jemmy version in runtime we use JemmyProperties.getVersion().


Constructor Summary
JellyVersion()
           
 
Method Summary
static void checkJemmyVersion()
          Checks if version of Jemmy which is used to test execution is the same or greater than version of Jemmy which jellytools were build on.
static String getBuild()
          Returns Jellytools build number.
static String getIDEVersion()
          Returns IDE version which Jellytools were build on.
static String getJemmyMajorVersion()
          Returns Jemmy major version which Jellytools were build on.
static String getJemmyMinorVersion()
          Returns Jemmy minor version which Jellytools were build on.
static String getJemmyVersion()
          Returns Jemmy version which Jellytools were build on.
static String getMajorVersion()
          Returns Jellytools major version number.
static String getMinorVersion()
          Returns Jellytools minor version number.
static String getVersion()
          Returns Jellytools version.
static void main(String[] argv)
          Writes version of jellytools to standard output.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JellyVersion

public JellyVersion()
Method Detail

main

public static void main(String[] argv)
Writes version of jellytools to standard output.

Parameters:
argv - not used

checkJemmyVersion

public static void checkJemmyVersion()
Checks if version of Jemmy which is used to test execution is the same or greater than version of Jemmy which jellytools were build on. If not, it prints a message to Jemmy error output.


getMajorVersion

public static String getMajorVersion()
Returns Jellytools major version number.

Returns:
Jellytools major version number

getMinorVersion

public static String getMinorVersion()
Returns Jellytools minor version number.

Returns:
Jellytools minor version number

getVersion

public static String getVersion()
Returns Jellytools version.

Returns:
Jellytools version

getBuild

public static String getBuild()
Returns Jellytools build number.

Returns:
Jellytools build number

getIDEVersion

public static String getIDEVersion()
Returns IDE version which Jellytools were build on.

Returns:
IDE version which Jellytools were build on

getJemmyMajorVersion

public static String getJemmyMajorVersion()
Returns Jemmy major version which Jellytools were build on.

Returns:
Jemmy major version which Jellytools were build on

getJemmyMinorVersion

public static String getJemmyMinorVersion()
Returns Jemmy minor version which Jellytools were build on.

Returns:
Jemmy minor version which Jellytools were build on

getJemmyVersion

public static String getJemmyVersion()
Returns Jemmy version which Jellytools were build on.

Returns:
Jemmy version which Jellytools were build on

org.netbeans.modules.jellytools.platform/3 3.13

Built on May 22 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.