- Timestamp:
- 09/09/11 23:52:51 (13 years ago)
- Location:
- trunk/JavaHelperLib/src/de/ugoe/cs/util/console/defaultcommands
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaHelperLib/src/de/ugoe/cs/util/console/defaultcommands/CMDexec.java
r122 r175 14 14 /** 15 15 * <p> 16 * Implements a command to execute batchs of {@link Command}s, defined by batch17 * file, to allow scripted executions.16 * Command to execute a batch of {@link Command}s. The batch is defined as a 17 * text file, where each line defines one command. 18 18 * </p> 19 19 * 20 20 * @author Steffen Herbold 21 * @version 1.0 21 22 */ 22 23 public class CMDexec implements Command { 23 24 24 /** 25 * <p> 26 * Executes a batch of {@link Command}s that are listed line by line in the 27 * given file. 28 * </p> 29 * <p> 30 * Usage: <code>exec filename</code> 31 * </p> 25 /* 26 * (non-Javadoc) 32 27 * 33 * @see de.ugoe.cs.util.console. commands.Command#run(java.util.List)28 * @see de.ugoe.cs.util.console.Command#run(java.util.List) 34 29 */ 35 30 public void run(List<Object> parameters) { -
trunk/JavaHelperLib/src/de/ugoe/cs/util/console/defaultcommands/CMDexit.java
r1 r175 8 8 /** 9 9 * <p> 10 * Implements a command to terminate an application.10 * Command to terminate an application. 11 11 * </p> 12 12 * 13 13 * @author Steffen Herbold 14 * 14 * @version 1.0 15 15 */ 16 16 public class CMDexit implements Command { 17 17 18 /* (non-Javadoc) 18 /* 19 * (non-Javadoc) 20 * 19 21 * @see databasebuilder.console.commands.Command#help() 20 22 */ … … 23 25 Console.println("Usage: exit"); 24 26 } 25 26 /** 27 * <p> 28 * Terminates the programm. 29 * </p> 30 * <p> 31 * Usage: <code>exit</code> 32 * </p> 27 28 /* 29 * (non-Javadoc) 30 * 31 * @see de.ugoe.cs.util.console.Command#run(java.util.List) 33 32 */ 34 33 @Override
Note: See TracChangeset
for help on using the changeset viewer.