Package com.senzing.g2.engine.plugin
Class G2PluginInterface.InitContext
- java.lang.Object
- 
- com.senzing.g2.engine.plugin.G2PluginInterface.InitContext
 
- 
- Enclosing interface:
- G2PluginInterface
 
 public static class G2PluginInterface.InitContext extends Object Context for initializing.
- 
- 
Constructor SummaryConstructors Constructor Description InitContext(String configInfo, G2EngineContext engineContext)Constructs the initialization context.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetConfigInfo()Gets the config info.G2EngineContextgetEngineContext()Gets theG2EngineContextthat has been associated with this instance.StringgetErrorMessage()Get the error message (if any).voidsetErrorMessage(String message)Sets the error message (if any).
 
- 
- 
- 
Constructor Detail- 
InitContextpublic InitContext(String configInfo, G2EngineContext engineContext) Constructs the initialization context.- Parameters:
- configInfo- The configuration info.
- engineContext- The- G2EngineContextto associate with the initialization context.
 
 
- 
 - 
Method Detail- 
getConfigInfopublic String getConfigInfo() Gets the config info.- Returns:
- The config info string
 
 - 
getEngineContextpublic G2EngineContext getEngineContext() Gets theG2EngineContextthat has been associated with this instance.- Returns:
- The associated G2EngineContext.
 
 - 
getErrorMessagepublic String getErrorMessage() Get the error message (if any).- Returns:
- The error message that was set or nullif no error.
 
 - 
setErrorMessagepublic void setErrorMessage(String message) Sets the error message (if any).- Parameters:
- message- The error message to set if an error occurs, or- nullto clear an error.
 
 
- 
 
-