public class WebhookLogFunctions extends LogFunctions
GROOVY_KEY
mExecute, mFLOG, mScriptRef
Constructor and Description |
---|
WebhookLogFunctions(boolean isExecute) |
Modifier and Type | Method and Description |
---|---|
void |
setMessage(java.lang.String pMessage)
Sets the message shown for current webhook execution on the Webhook Messages screen.
|
void |
setMessage(java.lang.String pMessage,
boolean overwrite)
Sets the message shown for current webhook execution on the Webhook Messages screen.
|
addSecureLogValues, cleanup, fine, fine, getGroovyKey, getLogs, getMessage, getObjectId, getObjectType, getParentObjectId, info, info, setLogKey, setObjectId, setObjectType, setParentObjectId, setSecureLogValues, severe, severe, warning, warning
decryptIntegrationInstance, doSimpleGet, findIntegrationInstanceByCode, getLogFunctions, getServerBaseUrl, setScriptRef
public void setMessage(java.lang.String pMessage)
setMessage
in class LogFunctions
pMessage
- Message to set. e.g. "Branch abc created" or "Projects 1 and 2 built"public void setMessage(java.lang.String pMessage, boolean overwrite)
setMessage
in class LogFunctions
pMessage
- Message to set. e.g. "Branch abc created" or "Projects 1 and 2 built"overwrite
- If a message is already set, should it be overwritten with this message