org.apache.chemistry.opencmis.commander
Interface Command

All Known Implementing Classes:
DeleteCommand, InfosCommand, ListCommand

public interface Command

Command interface.

Author:
Florian Müller

Method Summary
 void execute(CmisBinding binding, java.lang.String[] args, java.io.PrintWriter output)
          Executes the command.
 java.lang.String getCommandName()
          Returns the command name.
 java.lang.String getUsage()
          Returns the usage hint.
 

Method Detail

getCommandName

java.lang.String getCommandName()
Returns the command name.


getUsage

java.lang.String getUsage()
Returns the usage hint.


execute

void execute(CmisBinding binding,
             java.lang.String[] args,
             java.io.PrintWriter output)
Executes the command.



Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.