public final class MockMojoLog extends Object implements org.apache.maven.plugin.logging.Log
| Modifier and Type | Class and Description |
|---|---|
static class |
MockMojoLog.MockMojoLogEntry |
| Constructor and Description |
|---|
MockMojoLog() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
any(Predicate<MockMojoLog.MockMojoLogEntry> entryPredicate) |
void |
debug(CharSequence charSequence) |
void |
debug(CharSequence charSequence,
Throwable throwable) |
void |
debug(Throwable throwable) |
void |
error(CharSequence charSequence) |
void |
error(CharSequence charSequence,
Throwable throwable) |
void |
error(Throwable throwable) |
void |
info(CharSequence charSequence) |
void |
info(CharSequence charSequence,
Throwable throwable) |
void |
info(Throwable throwable) |
boolean |
isDebugEnabled() |
boolean |
isErrorEnabled() |
boolean |
isInfoEnabled() |
boolean |
isWarnEnabled() |
Optional<MockMojoLog.MockMojoLogEntry> |
last() |
boolean |
none(Predicate<MockMojoLog.MockMojoLogEntry> entryPredicate) |
void |
printAll() |
void |
setDebugEnabled(boolean debugEnabled) |
void |
setErrorEnabled(boolean errorEnabled) |
void |
setInfoEnabled(boolean infoEnabled) |
void |
setWarnEnabled(boolean warnEnabled) |
void |
warn(CharSequence charSequence) |
void |
warn(CharSequence charSequence,
Throwable throwable) |
void |
warn(Throwable throwable) |
public void setDebugEnabled(boolean debugEnabled)
public void setInfoEnabled(boolean infoEnabled)
public void setWarnEnabled(boolean warnEnabled)
public void setErrorEnabled(boolean errorEnabled)
public boolean any(Predicate<MockMojoLog.MockMojoLogEntry> entryPredicate)
public boolean none(Predicate<MockMojoLog.MockMojoLogEntry> entryPredicate)
public boolean isDebugEnabled()
isDebugEnabled in interface org.apache.maven.plugin.logging.Logpublic void debug(CharSequence charSequence)
debug in interface org.apache.maven.plugin.logging.Logpublic void debug(CharSequence charSequence, Throwable throwable)
debug in interface org.apache.maven.plugin.logging.Logpublic void debug(Throwable throwable)
debug in interface org.apache.maven.plugin.logging.Logpublic boolean isInfoEnabled()
isInfoEnabled in interface org.apache.maven.plugin.logging.Logpublic void info(CharSequence charSequence)
info in interface org.apache.maven.plugin.logging.Logpublic void info(CharSequence charSequence, Throwable throwable)
info in interface org.apache.maven.plugin.logging.Logpublic void info(Throwable throwable)
info in interface org.apache.maven.plugin.logging.Logpublic boolean isWarnEnabled()
isWarnEnabled in interface org.apache.maven.plugin.logging.Logpublic void warn(CharSequence charSequence)
warn in interface org.apache.maven.plugin.logging.Logpublic void warn(CharSequence charSequence, Throwable throwable)
warn in interface org.apache.maven.plugin.logging.Logpublic void warn(Throwable throwable)
warn in interface org.apache.maven.plugin.logging.Logpublic boolean isErrorEnabled()
isErrorEnabled in interface org.apache.maven.plugin.logging.Logpublic void error(CharSequence charSequence)
error in interface org.apache.maven.plugin.logging.Logpublic void error(CharSequence charSequence, Throwable throwable)
error in interface org.apache.maven.plugin.logging.Logpublic void error(Throwable throwable)
error in interface org.apache.maven.plugin.logging.Logpublic void printAll()
public Optional<MockMojoLog.MockMojoLogEntry> last()
Copyright © 2017–2020. All rights reserved.