SHL-23 - Create docbook based reference guide

This commit is contained in:
Mark Pollack
2012-07-18 00:33:17 -04:00
parent fb2ba23587
commit 509eb6fd45
13 changed files with 387 additions and 67 deletions

View File

@@ -20,6 +20,14 @@ import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
*
* Annotates a method that provides a command to the shell.
*
* @author Ben Alex
* @since 1.0
*
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface CliCommand {

View File

@@ -22,7 +22,13 @@ import java.lang.annotation.Target;
import org.springframework.shell.core.Converter;
/**
* Annotates the arguments of a command methods, allowing it to declare the argument value as mandatory or optional with a default value.
*
* @author Ben Alex
* @since 1.0
*
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.PARAMETER)
public @interface CliOption {