@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.RequestProgressTracker
public void log(String format, Object... args)
log
in interface org.apache.sling.api.request.RequestProgressTracker
public void startTimer(String timerName)
startTimer
in interface org.apache.sling.api.request.RequestProgressTracker
public void logTimer(String timerName)
logTimer
in interface org.apache.sling.api.request.RequestProgressTracker
public void logTimer(String timerName, String format, Object... args)
logTimer
in interface org.apache.sling.api.request.RequestProgressTracker
public Iterator<String> getMessages()
getMessages
in interface org.apache.sling.api.request.RequestProgressTracker
public void dump(PrintWriter writer)
dump
in interface org.apache.sling.api.request.RequestProgressTracker
public void done()
done
in interface org.apache.sling.api.request.RequestProgressTracker
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.