Package com.fauna.env
Class DriverEnvironment
- java.lang.Object
-
- com.fauna.env.DriverEnvironment
-
public class DriverEnvironment extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DriverEnvironment.JvmDriver
-
Constructor Summary
Constructors Constructor Description DriverEnvironment(DriverEnvironment.JvmDriver jvmDriver)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.String
getVersion()
Retrieves the software version from the "version.properties" file.java.lang.String
toString()
-
-
-
Constructor Detail
-
DriverEnvironment
public DriverEnvironment(DriverEnvironment.JvmDriver jvmDriver)
-
-
Method Detail
-
getVersion
public static java.lang.String getVersion()
Retrieves the software version from the "version.properties" file.- Returns:
- A String representing the software version.
- Throws:
java.lang.RuntimeException
- If the "version.properties" file is not found or if there is an issue reading the file.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-