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

eu.maveniverse.maven.toolbox.shared.Output Maven / Gradle / Ivy

There is a newer version: 0.3.1
Show newest version
/*
 * Copyright (c) 2023-2024 Maveniverse Org.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v2.0
 * which accompanies this distribution, and is available at
 * https://www.eclipse.org/legal/epl-v20.html
 */
package eu.maveniverse.maven.toolbox.shared;

import java.util.function.Consumer;

/**
 * Output.
 */
public interface Output extends Consumer {
    @Override
    default void accept(String s) {
        normal(s);
    }

    boolean isVerbose();

    void verbose(String msg, Object... params);

    void normal(String msg, Object... params);

    void warn(String msg, Object... params);

    void error(String msg, Object... params);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy