Package io.cnaik

Class GoogleChatNotification.Descriptor

All Implemented Interfaces:
Saveable, Loadable, OnMaster
Enclosing class:
GoogleChatNotification

@Symbol("googlechatnotification") @Extension public static class GoogleChatNotification.Descriptor extends BuildStepDescriptor<Publisher>
  • Field Details

  • Constructor Details

    • Descriptor

      public Descriptor()
  • Method Details

    • doCheckUrl

      public FormValidation doCheckUrl(@QueryParameter String value)
    • doCheckMessage

      public FormValidation doCheckMessage(@QueryParameter String value, @QueryParameter MessageFormat messageFormat)
    • isApplicable

      public boolean isApplicable(Class<? extends AbstractProject> jobType)
      Specified by:
      isApplicable in class BuildStepDescriptor<Publisher>
    • getDisplayName

      public String getDisplayName()
      Overrides:
      getDisplayName in class Descriptor<Publisher>
    • doFillMessageFormatItems

      public ListBoxModel doFillMessageFormatItems()
    • configure

      public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws Descriptor.FormException
      Overrides:
      configure in class Descriptor<Publisher>
      Throws:
      Descriptor.FormException
    • getUrl

      public String getUrl()
    • setUrl

      @DataBoundSetter public void setUrl(String url)
    • getMessage

      public String getMessage()
    • setMessage

      @DataBoundSetter public void setMessage(String message)
    • getMessageFormat

      public MessageFormat getMessageFormat()
    • setMessageFormat

      @DataBoundSetter public void setMessageFormat(MessageFormat messageFormat)
    • isSameThreadNotification

      public boolean isSameThreadNotification()
    • setSameThreadNotification

      @DataBoundSetter public void setSameThreadNotification(boolean sameThreadNotification)
    • getThreadKey

      public String getThreadKey()
    • setThreadKey

      @DataBoundSetter public void setThreadKey(String threadKey)
    • isNotifyAborted

      public boolean isNotifyAborted()
    • setNotifyAborted

      @DataBoundSetter public void setNotifyAborted(boolean notifyAborted)
    • isNotifyFailure

      public boolean isNotifyFailure()
    • setNotifyFailure

      @DataBoundSetter public void setNotifyFailure(boolean notifyFailure)
    • isNotifyNotBuilt

      public boolean isNotifyNotBuilt()
    • setNotifyNotBuilt

      @DataBoundSetter public void setNotifyNotBuilt(boolean notifyNotBuilt)
    • isNotifySuccess

      public boolean isNotifySuccess()
    • setNotifySuccess

      @DataBoundSetter public void setNotifySuccess(boolean notifySuccess)
    • isNotifyUnstable

      public boolean isNotifyUnstable()
    • setNotifyUnstable

      @DataBoundSetter public void setNotifyUnstable(boolean notifyUnstable)
    • isNotifyBackToNormal

      public boolean isNotifyBackToNormal()
    • setNotifyBackToNormal

      @DataBoundSetter public void setNotifyBackToNormal(boolean notifyBackToNormal)
    • isSuppressInfoLoggers

      public boolean isSuppressInfoLoggers()
    • setSuppressInfoLoggers

      @DataBoundSetter public void setSuppressInfoLoggers(boolean suppressInfoLoggers)