public class LogFunctions extends BaseFunctions
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
GROOVY_KEY |
Constructor and Description |
---|
LogFunctions(boolean isExecute) |
Modifier and Type | Method and Description |
---|---|
void |
addSecureLogValues(java.lang.String pSecureValue) |
void |
cleanup() |
void |
fine(java.lang.String pMessage)
Logs a message to the FlexDeploy logs with a level of FINE.
|
java.lang.String |
getGroovyKey() |
java.util.List<LogMessage> |
getLogs() |
java.lang.String |
getMessage() |
void |
info(java.lang.String pMessage)
Logs a message to the FlexDeploy logs with a level of INFO.
|
void |
setLogKey(java.lang.String pLogKey) |
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.
|
void |
setSecureLogValues(java.util.List<java.lang.String> pSecureValues) |
void |
severe(java.lang.String pMessage)
Logs a message to the FlexDeploy logs with a level of SEVERE.
|
void |
warning(java.lang.String pMessage)
Logs a message to the FlexDeploy logs with a level of WARNING.
|
approveTask, approveTaskByEmails, decryptIntegrationInstance, doSimpleGet, findIntegrationInstance, getLogFunctions, getServerBaseUrl, rejectTask, rejectTaskByEmails
public static final java.lang.String GROOVY_KEY
public void setMessage(java.lang.String pMessage)
pMessage
- Message to set. e.g. "Branch abc created" or "Projects 1 and 2 built"public void setMessage(java.lang.String pMessage, boolean overwrite)
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 messagepublic void info(java.lang.String pMessage)
pMessage
- The message to logpublic void fine(java.lang.String pMessage)
pMessage
- The message to logpublic void warning(java.lang.String pMessage)
pMessage
- The message to logpublic void severe(java.lang.String pMessage)
pMessage
- The message to logpublic java.util.List<LogMessage> getLogs()
public java.lang.String getMessage()
public java.lang.String getGroovyKey()
getGroovyKey
in class BaseFunctions
public void setLogKey(java.lang.String pLogKey)
public void setSecureLogValues(java.util.List<java.lang.String> pSecureValues)
public void addSecureLogValues(java.lang.String pSecureValue)
public void cleanup()
cleanup
in class BaseFunctions