public class GitlabFunctions
extends BaseFunctions
Constructor and Description |
---|
GitlabFunctions(DevOpsRestAM pRestAM,
LogFunctions pFLOG) |
Modifier and Type | Method and Description |
---|---|
PollingResult |
getChangeLogs(java.lang.Object pPayload)
Finds FlexDeploy change logs from a Gitlab payload.
|
PollingResult |
getChangeLogs(java.lang.Object pPayload,
boolean pIgnoreTargetBranchMerge)
Finds FlexDeploy change logs from a Gitlab payload.
|
java.lang.String |
getGroovyKey() |
public GitlabFunctions(DevOpsRestAM pRestAM, LogFunctions pFLOG)
public PollingResult getChangeLogs(java.lang.Object pPayload) throws FlexCheckedException
pPayload
- Json payload from Gitlab push event. This MUST be the push event payloadFlexCheckedException
public PollingResult getChangeLogs(java.lang.Object pPayload, boolean pIgnoreTargetBranchMerge) throws FlexCheckedException
pPayload
- Json payload from Gitlab push event. This MUST be the push event payloadpIgnoreTargetBranchMerge
- Exclude commits that were merged from the target branch into this branch. When using git flow this will ignore merges
done from the target branch 'develop' into your feature branch. Default value is trueFlexCheckedException
public java.lang.String getGroovyKey()