Created
November 25, 2012 17:29
-
-
Save DrDaleks/4144453 to your computer and use it in GitHub Desktop.
Block interface
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package plugins.adufour.blocks.lang; | |
import plugins.adufour.blocks.util.VarList; | |
/** | |
* Interface indicating that implementing classes can be used in a block programming context | |
* | |
* @see WorkFlow | |
* | |
* @author Alexandre Dufour | |
* | |
*/ | |
public interface Block extends Runnable | |
{ | |
/** | |
* Fills the specified map with all the input variables of this block | |
* | |
* @param inputMap | |
*/ | |
void declareInput(final VarList inputMap); | |
/** | |
* Fills the specified map with all the output variables of this block | |
* | |
* @param outputMap | |
*/ | |
void declareOutput(final VarList outputMap); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment