JMACS

org.jmacs.pd
Interface IPdCmd

All Superinterfaces:
Serializable

public interface IPdCmd
extends Serializable

for use where a String may not be used, because the command cannot conveniently be expressed as text. The impl'n is required to override Object.toString() so as to return a declared command, so that it may be identified by any IInterpreter. The value should begin with an underscore, to indicated that it may not be entered on the commandline.

Version:
$Id: IPdCmd.java 2764 2008-02-09 13:53:36Z rob $
Author:
Rob Dickens

Nested Class Summary
static interface IPdCmd.Context
          context, as passed to execute(Context).
 
Method Summary
 Serializable execute(IPdCmd.Context context)
          called when the command is executed.
 

Method Detail

execute

Serializable execute(IPdCmd.Context context)
called when the command is executed.

Returns:
may be null

JMACS

jmacs.org