Class WebhookLogFunctions


public class WebhookLogFunctions extends LogFunctions
  • Constructor Details

    • WebhookLogFunctions

      public WebhookLogFunctions()
  • Method Details

    • setMessage

      public void setMessage(String pMessage)
      Sets the message shown for current webhook execution on the Webhook Messages screen. Message will be overwritten if there are any errors during execution. Using this function will also write an info level log
      Overrides:
      setMessage in class LogFunctions
      Parameters:
      pMessage - Message to set. e.g. "Branch abc created" or "Projects 1 and 2 built"
    • setMessage

      public void setMessage(String pMessage, boolean overwrite)
      Sets the message shown for current webhook execution on the Webhook Messages screen. Message will be overwritten if there are any errors during execution. This overload accepts an additional argument to overwrite the previous message (if any).
      Overrides:
      setMessage in class LogFunctions
      Parameters:
      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
      Since:
      5.5.0.2