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

com.github.viclovsky.swagger.coverage.ExitCode Maven / Gradle / Ivy

package com.github.viclovsky.swagger.coverage;

public enum ExitCode {

    NO_ERROR(0),
    GENERIC_ERROR(1),
    ARGUMENT_PARSING_ERROR(127);

    private final int code;

    ExitCode(final int code) {
        this.code = code;
    }

    public int getCode() {
        return code;
    }

    public boolean isSuccess() {
        return 0 == code;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy