Package org.eolang.maven
Class Sanitized
- java.lang.Object
-
- org.eolang.maven.Sanitized
-
public class Sanitized extends Object
Sanitized XMIR files.- Since:
- 1.0
-
-
Field Detail
-
ERROR
public static final String ERROR
Error severity.- See Also:
- Constant Field Values
-
WARNING
public static final String WARNING
Warning severity.- See Also:
- Constant Field Values
-
ADVICE
public static final String ADVICE
Advice severity.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Sanitized
public Sanitized(Path source)
Ctor.- Parameters:
source
- Path to XMIR to validate
-
-
Method Detail
-
sanitize
public void sanitize(Set<String> failures) throws FileNotFoundException
Check for errors.- Parameters:
failures
- Severities to fail on- Throws:
FileNotFoundException
- If source file is missing
-
-