![JAR search and dependency download from the Maven repository](/logo.png)
com.griddynamics.qa.datapool.serialization.Yamler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of data-pool Show documentation
Show all versions of data-pool Show documentation
Test Data Pool tool is intended to mitigate risks of running automated tests against multiple unstable
“FullDB” environments having unpredictable set of data.
The newest version!
package com.griddynamics.qa.datapool.serialization;
import org.yaml.snakeyaml.constructor.AbstractConstruct;
import org.yaml.snakeyaml.constructor.BaseConstructor;
import org.yaml.snakeyaml.nodes.Tag;
import org.yaml.snakeyaml.representer.BaseRepresenter;
import org.yaml.snakeyaml.representer.Represent;
import org.yaml.snakeyaml.representer.Representer;
/**
* @author Alexey Lyanguzov.
*/
public abstract class Yamler extends AbstractConstruct implements Represent{
private final Tag tag;
private final Class> catchType;
private boolean multiRepresenter = false;
public Yamler(Tag tag, Class> catchType) {
this.tag = tag;
this.catchType = catchType;
}
public Tag getTag() {
return tag;
}
public Class> getCatchType() {
return catchType;
}
public boolean isMultiRepresenter() {
return multiRepresenter;
}
public void setMultiRepresenter(boolean multiRepresenter) {
this.multiRepresenter = multiRepresenter;
}
public Representer getRepresenter(){
return null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy