public class SlackFunctions
extends BaseFunctions
Constructor and Description |
---|
SlackFunctions(DevOpsRestAM pDevOpsRestAM,
LogFunctions pFLOG) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getGroovyKey() |
FDUser |
getUserFromSlackId(java.lang.String pSlackId)
Returns the FlexDeploy User corresponding to the given slack user id.
|
public SlackFunctions(DevOpsRestAM pDevOpsRestAM, LogFunctions pFLOG)
public FDUser getUserFromSlackId(java.lang.String pSlackId) throws FlexCheckedException, FlexNotFoundException
pSlackId
- The Slack user id. This can be found in the Slack payload from incoming webhook messages.FlexNotFoundException
- If no FlexDeploy user was found for the given Slack idFlexCheckedException
- All other exceptionspublic java.lang.String getGroovyKey()