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

es.iti.wakamiti.api.extensions.Reporter Maven / Gradle / Ivy

The newest version!
/*
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at https://mozilla.org/MPL/2.0/.
 */
package es.iti.wakamiti.api.extensions;


import es.iti.commons.jext.ExtensionPoint;
import es.iti.wakamiti.api.plan.PlanNodeSnapshot;


/**
 * This interface defines a contract for implementing reporters that generate reports based on
 * the provided plan node descriptors.
 *
 * @author Luis Iñesta Gelabert - [email protected]
 */
@ExtensionPoint
public interface Reporter extends Contributor {


    /**
     * Perform the report operation on the given plan node descriptor.
     *
     * @param rootNode The root node descriptor. It may be a standalone
     *                 plan or a root node grouping several plans.
     */
    void report(PlanNodeSnapshot rootNode);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy