io.github.antoniopetricca.maven.plugins.filemerger.configuration.SourceFilesSet Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of filemerger-maven-plugin Show documentation
Show all versions of filemerger-maven-plugin Show documentation
Loads and merges text/code/configuration external files into another one by placeholders.
The newest version!
package io.github.antoniopetricca.maven.plugins.filemerger.configuration;
import org.apache.maven.plugin.MojoExecutionException;
public class SourceFilesSet extends AbstractSet {
private SourceFile[] sourceFiles;
public SourceFile[] getSourceFiles() {
return sourceFiles;
}
@Override
public void validate()
throws MojoExecutionException
{
super.validate();
validate(
(null != sourceFiles),
"Null source files list."
);
for (SourceFile sourceFile : sourceFiles) {
sourceFile.validate();
}
}
}