public abstract class GitProviderFunctions extends BaseFunctions
Constructor and Description |
---|
GitProviderFunctions(boolean isExecute,
LogFunctions pLogFunctions) |
Modifier and Type | Method and Description |
---|---|
protected void |
buildPackages(java.lang.String repoName,
java.lang.String branchName,
java.lang.Boolean createStreams,
PollingResult logs,
java.util.Map<java.lang.String,java.lang.String> pQueryParameters) |
protected void |
buildProjects(java.lang.String repoName,
java.lang.String branchName,
java.lang.Boolean createStreams,
PollingResult logs,
java.util.Map<java.lang.String,java.lang.String> pQueryParameters) |
void |
cleanup() |
protected DevOpsRestAM |
getAM() |
protected FlexDeployFunctions |
getFlexDeployFunctions() |
protected JsonObject |
getJsonObjectFromPayload(java.lang.Object pPayload)
Take in the json payload and convert it to a JsonObject
|
protected java.lang.Long |
getOrCreateStreamId(java.lang.Long pProjectId,
java.lang.String pBranchName,
java.lang.Boolean createStream)
Trys to get the stream id, if unable to it creates a stream and returns that id
|
decryptIntegrationInstance, doSimpleGet, findIntegrationInstanceByCode, getGroovyKey, getLogFunctions, getServerBaseUrl, setScriptRef
public GitProviderFunctions(boolean isExecute, LogFunctions pLogFunctions)
protected DevOpsRestAM getAM()
protected FlexDeployFunctions getFlexDeployFunctions()
protected java.lang.Long getOrCreateStreamId(java.lang.Long pProjectId, java.lang.String pBranchName, java.lang.Boolean createStream) throws FlexCheckedException
pProjectId
- id of the projectpBranchName
- name of the branchFlexCheckedException
protected void buildPackages(java.lang.String repoName, java.lang.String branchName, java.lang.Boolean createStreams, PollingResult logs, java.util.Map<java.lang.String,java.lang.String> pQueryParameters) throws FlexCheckedException
FlexCheckedException
protected void buildProjects(java.lang.String repoName, java.lang.String branchName, java.lang.Boolean createStreams, PollingResult logs, java.util.Map<java.lang.String,java.lang.String> pQueryParameters) throws FlexCheckedException
FlexCheckedException
protected JsonObject getJsonObjectFromPayload(java.lang.Object pPayload) throws FlexCheckedException
pPayload
- FlexCheckedException
public void cleanup()
cleanup
in class BaseFunctions