Class Webhook

java.lang.Object
hudson.model.AbstractDescribableImpl<Webhook>
jenkins.plugins.office365connector.Webhook
All Implemented Interfaces:
Describable<Webhook>

public class Webhook extends AbstractDescribableImpl<Webhook>
  • Field Details

    • DEFAULT_TIMEOUT

      public static final Integer DEFAULT_TIMEOUT
  • Constructor Details

    • Webhook

      @DataBoundConstructor public Webhook(String url)
  • Method Details

    • getDescriptor

      public Webhook.DescriptorImpl getDescriptor()
      Specified by:
      getDescriptor in interface Describable<Webhook>
      Overrides:
      getDescriptor in class AbstractDescribableImpl<Webhook>
    • getUrl

      public String getUrl()
    • getName

      public String getName()
    • setName

      @DataBoundSetter public void setName(String name)
    • isNotifySuccess

      public boolean isNotifySuccess()
    • setNotifySuccess

      @DataBoundSetter public void setNotifySuccess(boolean notifySuccess)
    • isStartNotification

      public boolean isStartNotification()
    • setStartNotification

      @DataBoundSetter public void setStartNotification(boolean startNotification)
    • isNotifyAborted

      public boolean isNotifyAborted()
    • setNotifyAborted

      @DataBoundSetter public void setNotifyAborted(boolean notifyAborted)
    • isNotifyNotBuilt

      public boolean isNotifyNotBuilt()
    • setNotifyNotBuilt

      @DataBoundSetter public void setNotifyNotBuilt(boolean notifyNotBuilt)
    • isNotifyUnstable

      public boolean isNotifyUnstable()
    • setNotifyUnstable

      @DataBoundSetter public void setNotifyUnstable(boolean notifyUnstable)
    • isNotifyFailure

      public boolean isNotifyFailure()
    • setNotifyFailure

      @DataBoundSetter public void setNotifyFailure(boolean notifyFailure)
    • isNotifyBackToNormal

      public boolean isNotifyBackToNormal()
    • setNotifyBackToNormal

      @DataBoundSetter public void setNotifyBackToNormal(boolean notifyBackToNormal)
    • isNotifyRepeatedFailure

      public boolean isNotifyRepeatedFailure()
    • setNotifyRepeatedFailure

      @DataBoundSetter public void setNotifyRepeatedFailure(boolean notifyRepeatedFailure)
    • getTimeout

      public int getTimeout()
    • setTimeout

      @DataBoundSetter public void setTimeout(int timeout)
    • getMacros

      public List<Macro> getMacros()
    • setAdaptiveCards

      @DataBoundSetter public void setAdaptiveCards(boolean adaptiveCards)
    • isAdaptiveCards

      public boolean isAdaptiveCards()
    • setMacros

      @DataBoundSetter public void setMacros(List<Macro> macros)
    • getFactDefinitions

      public List<FactDefinition> getFactDefinitions()
    • setFactDefinitions

      @DataBoundSetter public void setFactDefinitions(List<FactDefinition> factDefinitions)