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

com.paypal.butterfly.utilities.maven.MavenInvocationOutputHandler Maven / Gradle / Ivy

There is a newer version: 3.2.7
Show newest version
package com.paypal.butterfly.utilities.maven;

import org.apache.maven.shared.invoker.InvocationOutputHandler;

/**
 * Reads lines from the Maven execution console output and return data after evaluating it.
 *
 * @author mcrockett, facarvalho
 */
public interface MavenInvocationOutputHandler extends InvocationOutputHandler {

    /**
     * Returns the desired result from parsing the console output
     *
     * @return the desired result from parsing the console output
     */
    R getResult();

    /**
     * Returns a copy of this object, but with its internal state reset,
     * so it can be run in a brand new Maven invocation
     *
     * @return a copy of this object, but with its internal state reset
     */
    T copy();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy