kg.apc.jmeter.reporters.LoadosophiaUploadingNotifier Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jmeter-plugins-standard Show documentation
Show all versions of jmeter-plugins-standard Show documentation
Custom plugins set for Apache JMeter
package kg.apc.jmeter.reporters;
import java.io.Serializable;
import java.util.LinkedList;
import org.apache.jorphan.logging.LoggingManager;
import org.apache.log.Logger;
public class LoadosophiaUploadingNotifier implements Serializable {
private static final Logger log = LoggingManager.getLoggerForClass();
private static LoadosophiaUploadingNotifier instance;
private LinkedList files = new LinkedList();
private LoadosophiaUploadingNotifier() {
}
public static LoadosophiaUploadingNotifier getInstance() {
if (instance == null) {
instance = new LoadosophiaUploadingNotifier();
}
return instance;
}
public void startCollecting() {
log.debug("Start files collection");
}
public void endCollecting() {
log.debug("Ended files collection, clear files list");
files.clear();
}
public LinkedList getFiles() {
return files;
}
public void addFile(String file) {
log.debug("Add new file: " + file);
files.add(file);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy