Package adams.core.scripting
Class JepUtils
- java.lang.Object
-
- adams.core.scripting.JepUtils
-
public class JepUtils extends Object
Helper methods around Jep.- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Field Summary
Fields Modifier and Type Field Description protected static Boolean
m_Present
whether we checked for jep presence.protected static jep.JepConfig
m_SharedInterpreterConfig
the global configuration for the shared interpreters.
-
Constructor Summary
Constructors Constructor Description JepUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
configureSharedInterpeter()
Configures the shared interpreters.static jep.SharedInterpreter
getSharedInterpreter()
Returns the shared interpreter instance.static boolean
isPresent()
Returns whether Jep is present.static String
projectURL()
Returns the Jep project URL.
-
-
-
Field Detail
-
m_SharedInterpreterConfig
protected static jep.JepConfig m_SharedInterpreterConfig
the global configuration for the shared interpreters.
-
m_Present
protected static Boolean m_Present
whether we checked for jep presence.
-
-
Method Detail
-
isPresent
public static boolean isPresent()
Returns whether Jep is present.- Returns:
- true if available
-
configureSharedInterpeter
public static void configureSharedInterpeter()
Configures the shared interpreters.
-
getSharedInterpreter
public static jep.SharedInterpreter getSharedInterpreter()
Returns the shared interpreter instance.- Returns:
- the instance
-
projectURL
public static String projectURL()
Returns the Jep project URL.- Returns:
- the URL
-
-