org.argouml.application.api
Interface CommandLineInterface

All Known Implementing Classes:
ActionExit, ActionGotoDiagram, ActionOpenProject, ActionSaveGraphics

public interface CommandLineInterface

This is the interface that a class needs to implement in order to be used from the command line of ArgoUML.

Furthermore the class need to have a public constructor that doesn't take any arguments.

Since:
0.15.1

Method Summary
 boolean doCommand(String argument)
          The method is called with the argument to this class from the command line (or null if no argument).
 

Method Detail

doCommand

public boolean doCommand(String argument)
The method is called with the argument to this class from the command line (or null if no argument).

Parameters:
argument - a string that is used to send arguments.
Returns:
true if the command was performed successfully.


ArgoUML © 1996-2004 (20050222)ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook