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

biz.gabrys.maven.plugin.util.timer.package-info Maven / Gradle / Ivy

The newest version!
/*
 * Maven Plugin Utils
 * http://maven-plugin-utils.projects.gabrys.biz/
 *
 * Copyright (c) 2015 Adam Gabrys
 *
 * This file is licensed under the BSD 3-Clause (the "License").
 * You may not use this file except in compliance with the License.
 * You may obtain:
 * - a copy of the License at project page
 * - a template of the License at https://opensource.org/licenses/BSD-3-Clause
 */
/**
 * 

* Contains types responsible for counting the execution time. *

*

* Example: *

* *
 * public class ExampleMojo extends AbstractMojo {
 *
 *     public void execute() {
 *         {@link biz.gabrys.maven.plugin.util.timer.Timer Timer} timer = {@link biz.gabrys.maven.plugin.util.timer.SystemTimer SystemTimer}.getStartedTimer();
 *
 *         // logic
 *         ...
 *
 *         getLog().info("Finished in " + timer.stop());
 *     }
 * }
 * 
*/ package biz.gabrys.maven.plugin.util.timer;




© 2015 - 2024 Weber Informatics LLC | Privacy Policy