Package org.orekit.utils
Class OrekitConfiguration
- java.lang.Object
-
- org.orekit.utils.OrekitConfiguration
-
public class OrekitConfiguration extends Object
Utility class for setting global configuration parameters.- Author:
- Luc Maisonobe
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
getCacheSlotsNumber()
Get the number of slots to use in caches.static String
getOrekitVersion()
Get Orekit version.static void
setCacheSlotsNumber(int slotsNumber)
Set the number of slots to use in caches.
-
-
-
Method Detail
-
setCacheSlotsNumber
public static void setCacheSlotsNumber(int slotsNumber)
Set the number of slots to use in caches.- Parameters:
slotsNumber
- number of slots to use in caches
-
getCacheSlotsNumber
public static int getCacheSlotsNumber()
Get the number of slots to use in caches.- Returns:
- number of slots to use in caches
-
getOrekitVersion
public static String getOrekitVersion()
Get Orekit version.The version is automatically retrieved from a properties file generated at maven compilation time. When using an IDE not configured to use maven, then a default value
"unknown"
will be returned.- Returns:
- Orekit version
- Since:
- 4.0
-
-