org.zodiac.template.base.impl.TemplateMatchResultImpl Maven / Gradle / Ivy
The newest version!
package org.zodiac.template.base.impl;
import org.zodiac.template.base.TemplateEngine;
public class TemplateMatchResultImpl implements TemplateMatchResult {
private final String templateName;
private final TemplateEngine engine;
public TemplateMatchResultImpl(String templateName, TemplateEngine engine) {
this.templateName = templateName;
this.engine = engine;
}
public String getTemplateName() {
return templateName;
}
public TemplateEngine getEngine() {
return engine;
}
@Override
public String toString() {
return templateName + ", engine=" + engine;
}
}