public class BitbucketServerFunctions
extends BaseFunctions
Constructor and Description |
---|
BitbucketServerFunctions(DevOpsRestAM pDevOpsRestAM) |
BitbucketServerFunctions(DevOpsRestAM pDevOpsRestAM,
LogFunctions pLogFunctions) |
Modifier and Type | Method and Description |
---|---|
PollingResult |
getChangeLogs(java.lang.Object pPayload,
java.lang.String pBitbucketUser,
java.lang.String pBitbucketPassword)
Finds FlexDeploy change logs from a Bitbucket Server payload.
|
PollingResult |
getChangeLogs(java.lang.Object pPayload,
java.lang.String pBitbucketUser,
java.lang.String pBitbucketPassword,
boolean pIgnoreTargetBranchMerge)
Finds FlexDeploy change logs from a Bitbucket Server payload.
|
java.lang.String |
getGroovyKey() |
public BitbucketServerFunctions(DevOpsRestAM pDevOpsRestAM, LogFunctions pLogFunctions)
public BitbucketServerFunctions(DevOpsRestAM pDevOpsRestAM)
public PollingResult getChangeLogs(java.lang.Object pPayload, java.lang.String pBitbucketUser, java.lang.String pBitbucketPassword) throws FlexCheckedException
pPayload
- JSON payload from a Bitbucket push event. This MUST be the push event payloadpBitbucketUser
- Valid Bitbucket user to make api calls withpBitbucketPassword
- Password or Personal Access Token for the userFlexCheckedException
public PollingResult getChangeLogs(java.lang.Object pPayload, java.lang.String pBitbucketUser, java.lang.String pBitbucketPassword, boolean pIgnoreTargetBranchMerge) throws FlexCheckedException
pPayload
- JSON payload from a Bitbucket push event. This MUST be the push event payloadpBitbucketUser
- Valid Bitbucket user to make api calls withpBitbucketPassword
- Password or Personal Access Token for the userpIgnoreTargetBranchMerge
- Exclude merge commits on your target branch. Default value is true and false should only be used in very rare cases.FlexCheckedException
public java.lang.String getGroovyKey()