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 |
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 |
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.
|
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 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()
public void setLogKey(java.lang.String pLogKey)
public void setSecureLogValues(java.util.List<java.lang.String> pSecureValues)
public void cleanup()