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

de.tsl2.nano.core.ICallback Maven / Gradle / Ivy

Go to download

TSL2 Framework Core (Main-Loader, Environment, Logging, Classloading, Crypting, PKI, HttpClient, ManagedException, Progress, System-Execution, CPU/Profiling, Compatibility-Layer, Messaging, Updater)

The newest version!
/*
 * File: $HeadURL$
 * Id  : $Id$
 * 
 * created by: Tom
 * created on: 12.03.2016
 * 
 * Copyright: (c) Thomas Schneider 2016, all rights reserved
 */
package de.tsl2.nano.core;

import java.util.Map;

/**
 * Implementations of this interface can be used on loops - calling the {@link #callback(Map)} method providing all
 * properties of the current loop pass.
 * 
 * @author Tom
 * @version $Revision$
 */
@FunctionalInterface
public interface ICallback {
    /** callback to be called inside each loop pass. the entry provides all informations of the current pass */
    RESULT run(Map passInfo);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy