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.lang; 005 006 import java.lang.annotation.ElementType; 007 import static java.lang.annotation.ElementType.METHOD; 008 import java.lang.annotation.Retention; 009 import static java.lang.annotation.RetentionPolicy.RUNTIME; 010 import java.lang.annotation.Target; 011 012 /** 013 * The information which will provide a new command in CommandLine (beanshell) 014 * @author Mohammad Ali Rostami 015 */ 016 017 @Retention(RUNTIME) 018 @Target({METHOD, ElementType.TYPE}) 019 public @interface CommandAttitude { 020 String name() default ""; 021 022 String abbreviation() default ""; 023 024 String description() default ""; 025 }