|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jenkinsci.plugins.stashNotifier.NotificationResult
public final class NotificationResult
convenience class to capture the result of a notification.
| Field Summary | |
|---|---|
boolean |
indicatesSuccess
true if and only if the notification was successful. |
String |
message
the error message in case the notification was not succesful or null, otherwise. |
| Method Summary | |
|---|---|
static NotificationResult |
newFailure(String message)
returns a new NotificationResult instance indicating a failed notification. |
static NotificationResult |
newSuccess()
returns a new NotificationResult instance indicating a successful notification. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final boolean indicatesSuccess
public final String message
| Method Detail |
|---|
public static NotificationResult newSuccess()
public static NotificationResult newFailure(String message)
message - the message indicating why the notifiation failed
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||