All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.asciidoctor.cli.SeverityConverter Maven / Gradle / Ivy

There is a newer version: 3.0.0
Show newest version
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