Class SystemMessage
java.lang.Object
hudson.model.AbstractDescribableImpl<SystemMessage>
io.jenkins.plugins.customizable_header.SystemMessage
- All Implemented Interfaces:
Describable<SystemMessage>
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static enum
-
Field Summary
-
Constructor Summary
ConstructorDescriptionSystemMessage
(String message, SystemMessage.SystemMessageColor level, String uid) -
Method Summary
Modifier and TypeMethodDescriptiongetColor()
Deprecated.getLevel()
getUid()
boolean
boolean
void
Deprecated.instead set the level in the constructorvoid
setExpireDate
(String expireDate) Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Field Details
-
DATE_OUTPUT_FORMATTER
-
DATE_INPUT_FORMATTER
-
-
Constructor Details
-
SystemMessage
@DataBoundConstructor public SystemMessage(String message, SystemMessage.SystemMessageColor level, String uid)
-
-
Method Details
-
setExpireDate
-
getUid
-
getExpireDate
-
isDismissed
public boolean isDismissed() -
isExpired
public boolean isExpired() -
setColor
Deprecated.instead set the level in the constructorSets the color for the system message. Only for backwards compatibility with CasC- Parameters:
color
-
-
readResolve
-
getMessage
-
getLevel
-
getEscapedMessage
-
getColor
Deprecated.usegetLevel()
The color for the system message.- Returns:
- color
-
getLevel()