|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjetbrains.buildServer.controllers.ActionMessage
public class ActionMessage
Represents an action message. Used in conjunction with ActionMessages
ActionMessages| Constructor Summary | |
|---|---|
ActionMessage(java.lang.String key,
java.lang.String message)
Create an action message object with the specified key, body and warning flag set to false. |
|
ActionMessage(java.lang.String key,
java.lang.String message,
boolean isWarning)
Create an action message object with the specified key, body and warning flag. |
|
ActionMessage(java.lang.String key,
java.lang.String message,
boolean isWarning,
java.lang.String... parameters)
Create an action message object with the specified key, body and warning flag. |
|
ActionMessage(java.lang.String key,
java.lang.String message,
java.lang.String... parameters)
Create an action message object with the specified key, body and warning flag set to false. |
|
| Method Summary | |
|---|---|
java.lang.String |
getKey()
|
java.lang.String |
getMessage()
|
boolean |
isIsWarning()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ActionMessage(@NotNull
java.lang.String key,
@NotNull
java.lang.String message,
boolean isWarning)
key - the keymessage - the message bodyisWarning - the warning flag (by default will be displayed as warning)
public ActionMessage(@NotNull
java.lang.String key,
@NotNull
java.lang.String message)
key - the keymessage - the message body
public ActionMessage(@NotNull
java.lang.String key,
@NotNull
java.lang.String message,
boolean isWarning,
@NotNull
java.lang.String... parameters)
key - message keymessage - messageisWarning - the warning flag (by default will be displayed as warning)parameters - if specified then substrings like {0}, {1}, {2} and so on will be replaced with parameter with corresponding index.
Note that parameter will be passed through WebUtil.escapeXml(String) function before inserted into the resulting message.
public ActionMessage(@NotNull
java.lang.String key,
@NotNull
java.lang.String message,
@NotNull
java.lang.String... parameters)
key - message keymessage - messageparameters - if specified then substrings like {0}, {1}, {2} and so on will be replaced with parameter with corresponding index.
Note that parameter will be passed through WebUtil.escapeXml(String) function before inserted into the resulting message.| Method Detail |
|---|
@NotNull public java.lang.String getKey()
@NotNull public java.lang.String getMessage()
public boolean isIsWarning()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||