public class NoticeTools extends Object
| Constructor and Description |
|---|
NoticeTools() |
| Modifier and Type | Method and Description |
|---|---|
static void |
clearNonSticky(INoticesSupport ns)
Remove all
Notice instances that are not marked as sticky. |
static boolean |
hasError(INoticesSupport ns)
|
static boolean |
hasInfo(INoticesSupport ns)
|
static boolean |
hasNotices(INoticesSupport ns)
true if some Notice instances exist |
static boolean |
hasWarning(INoticesSupport ns)
|
static List<Notice> |
sortBySeverity(INoticesSupport ns)
|
public static void clearNonSticky(INoticesSupport ns)
Notice instances that are not marked as sticky.ns - public static boolean hasError(INoticesSupport ns)
ns - public static boolean hasInfo(INoticesSupport ns)
ns - public static boolean hasNotices(INoticesSupport ns)
true if some Notice instances existns - public static boolean hasWarning(INoticesSupport ns)
ns - public static List<Notice> sortBySeverity(INoticesSupport ns)
ns - Copyright © 2013 intarsys consulting GmbH. All Rights Reserved.