ru.yandex.qatools.allure.data.io.AttachmentReader Maven / Gradle / Ivy
package ru.yandex.qatools.allure.data.io;
import com.google.inject.Inject;
import ru.yandex.qatools.allure.data.AttachmentInfo;
import ru.yandex.qatools.allure.data.plugins.AttachmentsIndex;
import java.util.Iterator;
/**
* @author Dmitry Baev [email protected]
* Date: 19.02.15
*/
public class AttachmentReader implements Reader {
@Inject
private AttachmentsIndex index;
@Override
public Iterator iterator() {
return index.findAll().iterator();
}
public AttachmentsIndex getIndex() {
return index;
}
public void setIndex(AttachmentsIndex index) {
this.index = index;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy