public abstract class BaseFunctions
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
mExecute |
protected LogFunctions |
mFLOG |
protected ExecuteScript |
mScriptRef |
Constructor and Description |
---|
BaseFunctions(boolean isExecute)
Standard Function constructor
|
BaseFunctions(boolean isExecute,
LogFunctions pFLOG)
Allows functions class access to the mFLOG variable so the internal java code can log to the same output as the log calls in the user groovy script
|
Modifier and Type | Method and Description |
---|---|
abstract void |
cleanup() |
protected void |
decryptIntegrationInstance(java.util.List<PropertyValuePojo> properties) |
protected JsonObject |
doSimpleGet(java.lang.String pUrl,
java.lang.String pUser,
java.lang.String pPassword) |
protected IntegrationInstancePojo |
findIntegrationInstanceByCode(java.lang.String pIntegrationInstanceCode,
java.lang.String pType) |
abstract java.lang.String |
getGroovyKey() |
protected LogFunctions |
getLogFunctions() |
protected java.lang.String |
getServerBaseUrl() |
void |
setScriptRef(ExecuteScript pScriptRef) |
protected LogFunctions mFLOG
protected ExecuteScript mScriptRef
protected boolean mExecute
public BaseFunctions(boolean isExecute)
isExecute
- - Will this functions class be used for execution? Generally this is true unless you are binding the class for inspection/suggestionspublic BaseFunctions(boolean isExecute, LogFunctions pFLOG)
isExecute
- - Will this functions class be used for execution? Generally this is true unless you are binding the class for inspection/suggestionspFLOG
- - LogFunctions classpublic void setScriptRef(ExecuteScript pScriptRef)
protected LogFunctions getLogFunctions()
protected JsonObject doSimpleGet(java.lang.String pUrl, java.lang.String pUser, java.lang.String pPassword) throws FlexCheckedException
FlexCheckedException
protected IntegrationInstancePojo findIntegrationInstanceByCode(java.lang.String pIntegrationInstanceCode, java.lang.String pType) throws FlexNotFoundException
FlexNotFoundException
protected void decryptIntegrationInstance(java.util.List<PropertyValuePojo> properties)
protected java.lang.String getServerBaseUrl()
public abstract java.lang.String getGroovyKey()
public abstract void cleanup()