| Modifier and Type | Class and Description |
|---|---|
static class |
Notice.Type |
| Modifier and Type | Field and Description |
|---|---|
Location |
endLocation |
String |
message |
Location |
startLocation |
Notice.Type |
type |
| Constructor and Description |
|---|
Notice(Notice.Type type,
String message) |
| Modifier and Type | Method and Description |
|---|---|
static ArrayList<Notice> |
getAllErrors(ArrayList<Notice> notices) |
static ArrayList<Notice> |
getAllInfos(ArrayList<Notice> notices) |
static ArrayList<Notice> |
getAllWarnings(ArrayList<Notice> notices) |
boolean |
isError() |
boolean |
isInfo() |
boolean |
isWarning() |
String |
show() |
String |
toString() |
@Nonnull public final Notice.Type type
public Notice(@Nonnull Notice.Type type, @Nonnull String message)
@Nonnull public static ArrayList<Notice> getAllErrors(@Nonnull ArrayList<Notice> notices)
@Nonnull public static ArrayList<Notice> getAllWarnings(@Nonnull ArrayList<Notice> notices)
@Nonnull public static ArrayList<Notice> getAllInfos(@Nonnull ArrayList<Notice> notices)
public boolean isError()
public boolean isWarning()
public boolean isInfo()
Copyright © 2019. All rights reserved.