public class GithubFunctions
extends GitProviderFunctions
Constructor and Description |
---|
GithubFunctions(boolean isExecute,
LogFunctions pFLOG) |
Modifier and Type | Method and Description |
---|---|
void |
buildProjects(java.lang.Object pPayload,
java.util.Map<java.lang.String,java.lang.String> pQueryParameters,
java.lang.Boolean pCreateStreams)
Build Projects using the given projectId in the query parameters or finding projects to build from the payload.
|
PollingResult |
getChangeLogs(java.lang.Object pPayload)
Finds FlexDeploy change logs from a Github payload.
|
PollingResult |
getChangeLogs(java.lang.Object pPayload,
boolean pIgnoreTargetBranchMerge)
Finds FlexDeploy change logs from a Github payload.
|
java.lang.String |
getGroovyKey() |
public GithubFunctions(boolean isExecute, LogFunctions pFLOG)
public PollingResult getChangeLogs(java.lang.Object pPayload) throws FlexCheckedException
pPayload
- Json payload from Github push event. This MUST be the push event payloadFlexCheckedException
public PollingResult getChangeLogs(java.lang.Object pPayload, boolean pIgnoreTargetBranchMerge) throws FlexCheckedException
pPayload
- Json payload from Github 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 void buildProjects(java.lang.Object pPayload, java.util.Map<java.lang.String,java.lang.String> pQueryParameters, java.lang.Boolean pCreateStreams) throws FlexCheckedException
pPayload
- Json payload from Github push event. This MUST be the push event payloadpQueryParameters
- Query Parameters from Github push event. This must be the push event payload.pCreateStreams
- Should streams be created if not found on the projects?FlexCheckedException
public java.lang.String getGroovyKey()