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

com.greenpepper.call.CompileStatistics Maven / Gradle / Ivy

The newest version!
package com.greenpepper.call;

import com.greenpepper.Statistics;

/**
 * 

CompileStatistics class.

* * @author oaouattara * @version $Id: $Id */ public class CompileStatistics implements Stub { private final Statistics stats; /** *

Constructor for CompileStatistics.

* * @param stats a {@link com.greenpepper.Statistics} object. */ public CompileStatistics( Statistics stats ) { this.stats = stats; } /** {@inheritDoc} */ public void call( Result result ) { if (result.isRight()) stats.right(); if (result.isWrong()) stats.wrong(); if (result.isException()) stats.exception(); if (result.isIgnored()) stats.ignored(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy