public class StatusPrinter
extends java.lang.Object
Constructor and Description |
---|
StatusPrinter() |
Modifier and Type | Method and Description |
---|---|
static void |
buildStr(java.lang.StringBuilder sb,
java.lang.String indentation,
Status s) |
static void |
print(Context context)
Print the contents of the context's status data.
|
static void |
print(Context context,
long threshold)
Print context's status data with a timestamp higher than the threshold.
|
static void |
print(java.util.List<Status> statusList) |
static void |
print(StatusManager sm) |
static void |
print(StatusManager sm,
long threshold) |
static void |
printIfErrorsOccured(Context context)
Print the contents of the context statuses, but only if they contain
errors.
|
static void |
printInCaseOfErrorsOrWarnings(Context context)
Print the contents of the context statuses, but only if they contain
warnings or errors.
|
static void |
printInCaseOfErrorsOrWarnings(Context context,
long threshold)
Print the contents of the context status, but only if they contain
warnings or errors occurring later then the threshold.
|
static void |
setPrintStream(java.io.PrintStream printStream) |
public static void setPrintStream(java.io.PrintStream printStream)
public static void printInCaseOfErrorsOrWarnings(Context context)
context
- public static void printInCaseOfErrorsOrWarnings(Context context, long threshold)
context
- public static void printIfErrorsOccured(Context context)
context
- public static void print(Context context)
context
- public static void print(Context context, long threshold)
context
- public static void print(StatusManager sm)
public static void print(StatusManager sm, long threshold)
public static void print(java.util.List<Status> statusList)
public static void buildStr(java.lang.StringBuilder sb, java.lang.String indentation, Status s)
Copyright © 2010 - 2020 Adobe. All Rights Reserved