
fr.inria.gforge.spoon.SpoonModel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spoon-maven-plugin Show documentation
Show all versions of spoon-maven-plugin Show documentation
A maven plugin to run spoon on a target project.
package fr.inria.gforge.spoon;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import java.util.List;
/**
* Simple class to store data loaded from XML config file
*/
@XmlType(name = "spoonModel")
@XmlRootElement(name = "spoonModel")
public class SpoonModel {
private List templates;
private List processors;
private String fileGenerator;
public String getFileGenerator() {
return fileGenerator;
}
@XmlElement(name = "fileGenerator")
public void setFileGenerator(String fileGenerator) {
this.fileGenerator = fileGenerator;
}
public List getProcessors() {
return processors;
}
@XmlElementWrapper(name = "processors")
@XmlElement(name = "processor")
public void setProcessors(List processors) {
this.processors = processors;
}
public List getTemplates() {
return templates;
}
@XmlElementWrapper(name = "templates")
@XmlElement(name = "template")
public void setTemplates(List templates) {
this.templates = templates;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy