com.jslsolucoes.maven.plugin.resource.Replace Maven / Gradle / Ivy
package com.jslsolucoes.maven.plugin.resource;
import java.io.File;
import java.util.List;
import org.apache.maven.plugins.annotations.Parameter;
public class Replace {
@Parameter(property = "skip")
private boolean skip = false;
@Parameter(property = "file", required = true)
private File file;
@Parameter(property = "encoding")
private String encoding = "UTF-8";
@Parameter(property = "tokens", required = true)
private List tokens;
@Parameter(property = "exitOnFail")
private boolean exitOnFail = true;
public File getFile() {
return file;
}
public void setFile(File file) {
this.file = file;
}
public String getEncoding() {
return encoding;
}
public void setEncoding(String encoding) {
this.encoding = encoding;
}
@Override
public String toString() {
return "Replace [file=" + file + ", encoding=" + encoding + ", tokens=" + tokens + "]";
}
public List getTokens() {
return tokens;
}
public void setTokens(List tokens) {
this.tokens = tokens;
}
public boolean getExitOnFail() {
return exitOnFail;
}
public void setExitOnFail(boolean exitOnFail) {
this.exitOnFail = exitOnFail;
}
public boolean isSkip() {
return skip;
}
public void setSkip(boolean skip) {
this.skip = skip;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy