com.sun.grid.jgdi.util.shell
Annotation Type CommandAnnotation


@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface CommandAnnotation

Option Function Annotation Is intended to be used for automatic option info discovery


Required Element Summary
 java.lang.String value
          Command string
 
Optional Element Summary
 boolean hasExtraArgs
          Specifies if command can have extra arguments.
 

Element Detail

value

public abstract java.lang.String value
Command string

Returns:
a command value

hasExtraArgs

public abstract boolean hasExtraArgs
Specifies if command can have extra arguments. Default is false. E.g.: qsub can

Returns:
boolean
Default:
false


Copyright © 2007 Sun Microsystems, Inc. All rights reserved.