public class BitbucketFunctions extends GitProviderFunctions
Constructor and Description |
---|
BitbucketFunctions(boolean isExecute,
LogFunctions pFLOG) |
Modifier and Type | Method and Description |
---|---|
void |
buildPackages(java.lang.Object pPayload,
java.util.Map<java.lang.String,java.lang.String> pQueryParameters,
java.lang.Boolean pCreateStreams,
java.lang.String pBitbucketUser,
java.lang.String pBitbucketPassword)
Build Packages using the given projectId and/or packageName in the query parameters or finding packages to build from the payload.
|
void |
buildProjects(java.lang.Object pPayload,
java.util.Map<java.lang.String,java.lang.String> pQueryParameters,
java.lang.Boolean pCreateStreams,
java.lang.String pBitbucketUser,
java.lang.String pBitbucketPassword)
Build Projects using the given projectId in the query parameters or finding projects to build from the payload.
|
PollingResult |
getChangeLogs(java.lang.Object pPayload,
java.lang.String pBitbucketUser,
java.lang.String pBitbucketPassword)
Finds FlexDeploy change logs from a Bitbucket payload.
|
PollingResult |
getChangeLogs(java.lang.Object pPayload,
java.lang.String pBitbucketUser,
java.lang.String pBitbucketPassword,
boolean pIgnoreTargetBranchMerge)
Finds FlexDeploy change logs from a Bitbucket payload.
|
java.lang.String |
getGroovyKey() |
buildPackages, buildProjects, cleanup, getAM, getFlexDeployFunctions, getJsonObjectFromPayload, getOrCreateStreamId
decryptIntegrationInstance, doSimpleGet, findIntegrationInstanceByCode, getLogFunctions, getServerBaseUrl, setScriptRef
public BitbucketFunctions(boolean isExecute, LogFunctions pFLOG)
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
- Bitbucket passwordFlexCheckedException
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
- Bitbucket passwordpIgnoreTargetBranchMerge
- 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 void buildPackages(java.lang.Object pPayload, java.util.Map<java.lang.String,java.lang.String> pQueryParameters, java.lang.Boolean pCreateStreams, java.lang.String pBitbucketUser, java.lang.String pBitbucketPassword) throws FlexCheckedException
pPayload
- Json payload from Bitbucket push event. This MUST be the push event payloadpQueryParameters
- Query Parameters from Bitbucket push event. This must be the push event payload.pCreateStreams
- Should streams be created if not found on the projects?pBitbucketUser
- Valid Bitbucket user to make api calls withpBitbucketPassword
- Bitbucket passwordFlexCheckedException
public void buildProjects(java.lang.Object pPayload, java.util.Map<java.lang.String,java.lang.String> pQueryParameters, java.lang.Boolean pCreateStreams, java.lang.String pBitbucketUser, java.lang.String pBitbucketPassword) throws FlexCheckedException
pPayload
- Json payload from Bitbucket push event. This MUST be the push event payloadpQueryParameters
- Query Parameters from Bitbucket push event. This must be the push event payload.pCreateStreams
- Should streams be created if not found on the projects?pBitbucketUser
- Valid Bitbucket user to make api calls withpBitbucketPassword
- Bitbucket passwordFlexCheckedException
public java.lang.String getGroovyKey()
getGroovyKey
in class BaseFunctions