1 package org.lsst.ccs.command;
2
3 import java.io.Serializable;
4
5 /**
6 * A interface implemented by both TokenizedCommand and RawCommand
7 * @author tonyj
8 */
9 public interface BasicCommand extends Serializable {
10
11 /**
12 * Get the number of arguments associated with this command
13 * @return The argument count
14 */
15 int getArgumentCount();
16
17 /**
18 * Get the root command name (the zeroth token)
19 * @return The command name
20 */
21 String getCommand();
22
23 }