@ConsumerType public class MockRequestProgressTracker extends Object implements org.apache.sling.api.request.RequestProgressTracker
RequestProgressTracker implementation.| Constructor and Description |
|---|
MockRequestProgressTracker() |
| Modifier and Type | Method and Description |
|---|---|
void |
done() |
void |
dump(PrintWriter writer) |
Iterator<String> |
getMessages() |
void |
log(String message) |
void |
log(String format,
Object... args) |
void |
logTimer(String timerName) |
void |
logTimer(String timerName,
String format,
Object... args) |
void |
startTimer(String timerName) |
public void log(String message)
log in interface org.apache.sling.api.request.RequestProgressTrackerpublic void log(String format, Object... args)
log in interface org.apache.sling.api.request.RequestProgressTrackerpublic void startTimer(String timerName)
startTimer in interface org.apache.sling.api.request.RequestProgressTrackerpublic void logTimer(String timerName)
logTimer in interface org.apache.sling.api.request.RequestProgressTrackerpublic void logTimer(String timerName, String format, Object... args)
logTimer in interface org.apache.sling.api.request.RequestProgressTrackerpublic Iterator<String> getMessages()
getMessages in interface org.apache.sling.api.request.RequestProgressTrackerpublic void dump(PrintWriter writer)
dump in interface org.apache.sling.api.request.RequestProgressTrackerpublic void done()
done in interface org.apache.sling.api.request.RequestProgressTrackerCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.