Package me.snowdrop.licenses.sanitiser
Class MavenSanitiser
- java.lang.Object
-
- me.snowdrop.licenses.sanitiser.MavenSanitiser
-
- All Implemented Interfaces:
LicenseSanitiser
public class MavenSanitiser extends java.lang.Object implements LicenseSanitiser
A pass-through sanitiser. If the dependency element does not have a license, the sanitiser will try to get it from a maven project. Then, the dependency element will be given to the next sanitiser.- Author:
- Michal Szynkiewicz, Gytis Trikleris
-
-
Constructor Summary
Constructors Constructor Description MavenSanitiser(MavenProjectFactory mavenProjectFactory, LicenseSanitiser next)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DependencyElementfix(DependencyElement dependencyElement)
-
-
-
Constructor Detail
-
MavenSanitiser
public MavenSanitiser(MavenProjectFactory mavenProjectFactory, LicenseSanitiser next)
-
-
Method Detail
-
fix
public DependencyElement fix(DependencyElement dependencyElement)
- Specified by:
fixin interfaceLicenseSanitiser
-
-