Package org.apache.nifi.util
Class MockComponentLog
java.lang.Object
org.apache.nifi.util.MockComponentLog
- All Implemented Interfaces:
org.apache.nifi.logging.ComponentLog
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate Object[]addProcessor(Object[] originalArgs) private Object[]addProcessorAndFormattedThrowable(Object[] originalArgs) voidvoidvoidvoidvoidvoidgetName()voidvoidvoidbooleanbooleanbooleanbooleanbooleanprivate booleanlastArgIsException(Object[] os) private Object[]prependToArgs(Object[] originalArgs, Object... toAdd) voidvoidvoidvoidvoidvoidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.nifi.logging.ComponentLog
debug, error, info, log, log, log, log, log, trace, warn
-
Field Details
-
logger
-
component
-
-
Constructor Details
-
MockComponentLog
-
-
Method Details
-
getTraceMessages
- Returns:
- a
Listof all TRACE level messages recorded by thisLogger.
-
getDebugMessages
- Returns:
- a
Listof all DEBUG level messages recorded by thisLogger.
-
getInfoMessages
- Returns:
- a
Listof all INFO level messages recorded by thisLogger.
-
getWarnMessages
- Returns:
- a
Listof all WARN level messages recorded by thisLogger.
-
getErrorMessages
- Returns:
- a
Listof all ERROR level messages recorded by thisLogger.
-
addProcessor
-
addProcessorAndFormattedThrowable
-
prependToArgs
-
lastArgIsException
-
warn
- Specified by:
warnin interfaceorg.apache.nifi.logging.ComponentLog
-
warn
- Specified by:
warnin interfaceorg.apache.nifi.logging.ComponentLog
-
warn
- Specified by:
warnin interfaceorg.apache.nifi.logging.ComponentLog
-
trace
- Specified by:
tracein interfaceorg.apache.nifi.logging.ComponentLog
-
trace
- Specified by:
tracein interfaceorg.apache.nifi.logging.ComponentLog
-
trace
- Specified by:
tracein interfaceorg.apache.nifi.logging.ComponentLog
-
isWarnEnabled
public boolean isWarnEnabled()- Specified by:
isWarnEnabledin interfaceorg.apache.nifi.logging.ComponentLog
-
isTraceEnabled
public boolean isTraceEnabled()- Specified by:
isTraceEnabledin interfaceorg.apache.nifi.logging.ComponentLog
-
isInfoEnabled
public boolean isInfoEnabled()- Specified by:
isInfoEnabledin interfaceorg.apache.nifi.logging.ComponentLog
-
isErrorEnabled
public boolean isErrorEnabled()- Specified by:
isErrorEnabledin interfaceorg.apache.nifi.logging.ComponentLog
-
isDebugEnabled
public boolean isDebugEnabled()- Specified by:
isDebugEnabledin interfaceorg.apache.nifi.logging.ComponentLog
-
info
- Specified by:
infoin interfaceorg.apache.nifi.logging.ComponentLog
-
info
- Specified by:
infoin interfaceorg.apache.nifi.logging.ComponentLog
-
info
- Specified by:
infoin interfaceorg.apache.nifi.logging.ComponentLog
-
getName
- Specified by:
getNamein interfaceorg.apache.nifi.logging.ComponentLog
-
error
- Specified by:
errorin interfaceorg.apache.nifi.logging.ComponentLog
-
error
- Specified by:
errorin interfaceorg.apache.nifi.logging.ComponentLog
-
error
- Specified by:
errorin interfaceorg.apache.nifi.logging.ComponentLog
-
debug
- Specified by:
debugin interfaceorg.apache.nifi.logging.ComponentLog
-
debug
- Specified by:
debugin interfaceorg.apache.nifi.logging.ComponentLog
-
debug
- Specified by:
debugin interfaceorg.apache.nifi.logging.ComponentLog
-