public class LogEntry extends Object implements Comparable<LogEntry>
| Modifier and Type | Class and Description |
|---|---|
static class |
LogEntry.Builder |
| Constructor and Description |
|---|
LogEntry(Target target,
ImportStatus status,
String i18nError) |
LogEntry(Target target,
ImportStatus status,
String i18nError,
Object[] errorArgs)
Deprecated.
use builder api
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(LogEntry o) |
static LogEntry.Builder |
failure() |
Object[] |
getErrorArgs() |
String |
getI18nError() |
String |
getI18nImpact() |
Object[] |
getImpactArgs() |
Integer |
getLine() |
ImportMode |
getMode() |
ImportStatus |
getStatus() |
Target |
getTarget() |
static LogEntry.Builder |
ok() |
void |
setErrorArgs(Object... errorArgs) |
void |
setImpactArgs(Object... impactArgs) |
void |
setLine(Integer line) |
void |
setMode(ImportMode mode) |
void |
setTarget(Target target) |
static LogEntry.Builder |
status(ImportStatus status)
Use this when you don't statically know what the status is.
|
static LogEntry.Builder |
warning() |
public LogEntry(Target target, ImportStatus status, String i18nError)
@Deprecated public LogEntry(Target target, ImportStatus status, String i18nError, Object[] errorArgs)
public static LogEntry.Builder failure()
public static LogEntry.Builder warning()
public static LogEntry.Builder ok()
public static LogEntry.Builder status(@NotNull ImportStatus status)
status - public Object[] getErrorArgs()
public void setErrorArgs(Object... errorArgs)
public Object[] getImpactArgs()
public void setImpactArgs(Object... impactArgs)
public int compareTo(LogEntry o)
compareTo in interface Comparable<LogEntry>public Integer getLine()
public void setLine(Integer line)
public ImportMode getMode()
public void setMode(ImportMode mode)
public Target getTarget()
public ImportStatus getStatus()
public String getI18nError()
public String getI18nImpact()
public void setTarget(Target target)
Copyright © 2010–2017 Henix, henix.fr. All rights reserved.