Class SystemMessage

java.lang.Object
hudson.model.AbstractDescribableImpl<SystemMessage>
io.jenkins.plugins.customizable_header.SystemMessage
All Implemented Interfaces:
Describable<SystemMessage>

public class SystemMessage extends AbstractDescribableImpl<SystemMessage>
  • Field Details

  • Constructor Details

  • Method Details

    • setExpireDate

      @DataBoundSetter public void setExpireDate(String expireDate)
    • getUid

      public String getUid()
    • getExpireDate

      public String getExpireDate()
    • isDismissed

      public boolean isDismissed()
    • isExpired

      public boolean isExpired()
    • setColor

      @DataBoundSetter @Deprecated public void setColor(String color)
      Deprecated.
      instead set the level in the constructor
      Sets the color for the system message. Only for backwards compatibility with CasC
      Parameters:
      color -
    • readResolve

      public Object readResolve()
    • getMessage

      public String getMessage()
    • getLevel

    • getEscapedMessage

      public String getEscapedMessage()
    • getColor

      @Deprecated public String getColor()
      Deprecated.
      The color for the system message.
      Returns:
      color