001    // GraphLab Project: http://graphlab.sharif.edu
002    // Copyright (C) 2008 Mathematical Science Department of Sharif University of Technology
003    // Distributed under the terms of the GNU General Public License (GPL): http://www.gnu.org/licenses/
004    package graphlab.platform.core;
005    
006    /**
007     * Action is the base of the actions of graphlab.
008     * @author Azin Azadi
009     */
010    public interface Action extends Listener {
011        /**
012         * do the job of action.
013         *
014         * @param eventName
015         * @param value
016         */
017        public void performAction(String key, Object value);
018    
019        /**
020         * each action have a black board which can interact with the world! by it.
021         *
022         * @param t
023         */
024        public void setBlackBoard(BlackBoard t);
025    
026    }