1 /*
2  * @(#) $Id: JSTKCommand.java,v 1.3 2003/07/08 08:13:52 pankaj Exp $
3  *
4  * Copyright (c) 2002-03 by Pankaj Kumar (http://www.pankaj-k.net). 
5  * All rights reserved.
6  *
7  * The license governing the use of this file can be found in the 
8  * root directory of the containing software.
9  */
10package org.jstk;
11
12public interface JSTKCommand{
13    public Object execute(JSTKArgs args) throws JSTKException;
14    public String briefDescription();
15    public String optionsDescription();
16    public String[] sampleUses();
17    public String[] useForms();
18
19    public String getResultDescription();
20    public boolean succeeded();
21    public boolean failed();
22
23    public void setPerfData(JSTKPerfData pData);
24    public JSTKPerfData getPerfData();
25}