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

org.pitest.mutationtest.MutationResultInterceptor Maven / Gradle / Ivy

There is a newer version: 1.17.1
Show newest version
package org.pitest.mutationtest;

import org.pitest.plugin.ToolClasspathPlugin;

import java.util.Collection;
import java.util.Collections;

/**
 * Allows modification of results before reporting
 */
public interface MutationResultInterceptor extends ToolClasspathPlugin {
    /**
     * Modify results for a class
     * @param results Results
     * @return Results with modifications
     */
    Collection modify(Collection results);

    /**
     * Called at end of run to provide any results that could not be determined
     * until all processing was complete
     * @return Collection of results
     */
    default Collection remaining() {
        return Collections.emptyList();
    }

    @Override
    default String description() {
        return "";
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy