Class GitProviderFunctions
java.lang.Object
flexagon.fd.services.groovy.functions.BaseFunctions
flexagon.fd.services.groovy.functions.GitProviderFunctions
- Direct Known Subclasses:
AzureFunctions,BitbucketFunctions,BitbucketServerFunctions,GithubFunctions,GitlabFunctions
Used for anything common between providers
-
Field Summary
Fields inherited from class flexagon.fd.services.groovy.functions.BaseFunctions
mFLOG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbuildPackages(String repoName, String branchName, Boolean createBranches, PollingResult logs, Map<String, String> pQueryParameters) protected voidbuildProjects(String repoName, String branchName, Boolean createBranches, PollingResult logs, Map<String, String> pQueryParameters) voidcleanup()protected FlexDeploy2Functionsprotected JsonObjectgetJsonObjectFromPayload(Object pPayload) Take in the json payload and convert it to a JsonObjectMethods inherited from class flexagon.fd.services.groovy.functions.BaseFunctions
captureSecureValues, captureSecureValuesForLogFunction, decryptIntegrationInstance, doSimpleGet, findIntegrationInstanceByCode, getBinding, getGroovyKey, getLogFunctions, getServerBaseUrl, setBinding
-
Constructor Details
-
GitProviderFunctions
-
-
Method Details
-
getFlexDeployFunctions
-
buildPackages
-
buildProjects
-
getJsonObjectFromPayload
Take in the json payload and convert it to a JsonObject- Parameters:
pPayload- JSON payload- Returns:
- JsonObject
- Throws:
FlexCheckedException- if the payload can not be parsed as JSON
-
cleanup
public void cleanup()- Specified by:
cleanupin classBaseFunctions
-