001    /**
002     * PluginInterface.java - Used for interfacing with other plugins.
003     */
004    public interface PluginInterface {
005    
006        /**
007         * Returns the name of this interface
008         * @return name
009         */
010        public String getName();
011    
012        /**
013         * Returns the amount of parameters
014         * @return number of parameters
015         */
016        public int getNumParameters();
017    
018        /**
019         * Checks parameters
020         * @param parameters parameters to check
021         * @return string
022         */
023        public String checkParameters(Object[] parameters);
024    
025        /**
026         * Runs the command and returns the result
027         * @param parameters parameters to run
028         * @return object
029         */
030        public Object run(Object[] parameters);
031    }