Class BaseFunctions
java.lang.Object
flexagon.fd.services.groovy.functions.BaseFunctions
- Direct Known Subclasses:
EmailFunctions,FlexDeploy2Functions,GitProviderFunctions,HmacFunctions,LogFunctions,MicrosoftTeamsFunctions,RestFunctions,SalesforceFunctions,SlackFunctions,TopologyFunctions
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionStandard Function constructorBaseFunctions(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 -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcaptureSecureValues(Map<String, Serializable> pProperties) protected voidcaptureSecureValuesForLogFunction(Secret pSecret) abstract voidcleanup()protected voiddecryptIntegrationInstance(List<PropertyValuePojo> properties) protected JsonObjectdoSimpleGet(String pUrl, String pUser, String pPassword) protected IntegrationInstancePojofindIntegrationInstanceByCode(String pIntegrationInstanceCode, String pType) FlexGroovyBindingabstract Stringprotected LogFunctionsprotected StringvoidsetBinding(FlexGroovyBinding pBinding)
-
Field Details
-
mFLOG
-
-
Constructor Details
-
BaseFunctions
public BaseFunctions()Standard Function constructor -
BaseFunctions
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- Parameters:
pFLOG- - LogFunctions class
-
-
Method Details
-
setBinding
public void setBinding(FlexGroovyBinding pBinding) -
getBinding
public FlexGroovyBinding getBinding() -
getLogFunctions
-
doSimpleGet
protected JsonObject doSimpleGet(String pUrl, String pUser, String pPassword) throws FlexCheckedException - Throws:
FlexCheckedException
-
findIntegrationInstanceByCode
protected IntegrationInstancePojo findIntegrationInstanceByCode(String pIntegrationInstanceCode, String pType) throws FlexNotFoundException - Throws:
FlexNotFoundException
-
captureSecureValuesForLogFunction
protected void captureSecureValuesForLogFunction(Secret pSecret) -
captureSecureValues
-
decryptIntegrationInstance
-
getServerBaseUrl
-
getGroovyKey
-
cleanup
public abstract void cleanup()
-