Class Overview
Utility methods for environment settings JIRA runs in.
Constants
public
static
final
float
JDK_1_5_VERSION
Public Constructors
public
EnvironmentUtils
(WebTester tester, JIRAEnvironmentData environmentData)
public
EnvironmentUtils
(WebTester tester, JIRAEnvironmentData environmentData, Navigation navigation)
Public Methods
public
float
getJiraJavaVersion
()
Retrieves the version of Java being used to run the JIRA instance from the System Info page. Method copied from
getJiraJavaVersion()
.
Returns
- the Java version as a float - e.g. Java 1.5 returns 1.5f (not 5.0f)
public
boolean
isJavaBeforeJdk15
()
public
boolean
isJvmWithPermGen
()
public
boolean
isOnWindows
()
Checks if this instance of JIRA is running on Windows OS
Returns
- true if on Windows, false otherwise
public
boolean
isOracle
()
public
boolean
isSunJVM
()
Returns
- true if we're running a SUN JVM