Package com.pnfsoftware.jeb.core
Class CoreOptions
java.lang.Object
com.pnfsoftware.jeb.core.CoreOptions
Public options for 
ICoreContext. Use through JebCoreService. Options are set up
 by JEB clients.- 
Method SummaryModifier and TypeMethodDescriptionstatic CoreOptionsGet the location of JEB classes.booleanDetermine if asynchronous processing is globally allowed for use in plugins.booleanDetermine if development mode is on.booleanSame asisAllowAsynchronousProcessing().voidsetAllowAsynchronousProcessing(boolean allowAsynchronousProcessing) voidvoidsetDevelopmentMode(boolean developmentMode) voidsetJebClassesLocation(File location) Set the location of JEB classes.voidsetStandardProxyInfo(NetProxyInfo proxyInfo) Standard proxy options provided by a client.voidsetUIClient(boolean enabled) 
- 
Method Details- 
setControllerInfo
- 
getControllerInfo
- 
setAllowAsynchronousProcessingpublic void setAllowAsynchronousProcessing(boolean allowAsynchronousProcessing) - Parameters:
- allowAsynchronousProcessing-
 
- 
isAllowAsynchronousProcessingpublic boolean isAllowAsynchronousProcessing()Determine if asynchronous processing is globally allowed for use in plugins. Generally, non-interactive clients should forbid plugins from processing tasks asynchronously; conversely, it is recommended for UI clients to allow plugins to perform asynchronous tasks. Note that setting this option to true does not mean that a plugin supporting asynchronous operation will perform them asynchronously! Other parameters may intervene, such as configuration options, user preferences, etc. This attribute is merely a global switch.- Returns:
 
- 
setUIClientpublic void setUIClient(boolean enabled) - Parameters:
- enabled-
 
- 
isUIClientpublic boolean isUIClient()Same asisAllowAsynchronousProcessing().- Returns:
 
- 
setDevelopmentModepublic void setDevelopmentMode(boolean developmentMode) - Parameters:
- developmentMode-
 
- 
isDevelopmentModepublic boolean isDevelopmentMode()Determine if development mode is on. By default, the Core runs in production mode. When development mode is on, additional logging may take place and the JEB engines may allow hot-swapping of some plugin types (in particular, contributions plugins written in Python are hot-swappable).- Returns:
 
- 
setJebClassesLocationSet the location of JEB classes. This method is reserved for internal use.- Parameters:
- location- JEB classes file or directory
 
- 
getJebClassesLocationGet the location of JEB classes.- Returns:
- a jar file (jeb.jar), or abin/folder containing classfiles
 
- 
setStandardProxyInfoStandard proxy options provided by a client.- Parameters:
- proxyInfo- optional; engines settings override those
 
- 
getStandardProxyInfo
- 
getDefault
 
-