org.asciidoctor.cli.SeverityConverter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of asciidoctorj-cli Show documentation
Show all versions of asciidoctorj-cli Show documentation
AsciidoctorJ Command Line Interface
package org.asciidoctor.cli;
import com.beust.jcommander.converters.EnumConverter;
import org.asciidoctor.log.Severity;
public class SeverityConverter extends EnumConverter {
public SeverityConverter() {
super("--failure-level", Severity.class);
}
@Override
public Severity convert(String argument) {
return super.convert(argument.toUpperCase());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy