org.zanata.client.commands
Interface ZanataCommand

All Known Implementing Classes:
ConfigurableCommand, ConfigurableProjectCommand, GetStatisticsCommand, GlossaryDeleteCommand, GlossaryPushCommand, ListLocalCommand, ListRemoteCommand, PublicanPullCommand, PublicanPushCommand, PullCommand, PushCommand, PushPullCommand, PutProjectCommand, PutUserCommand, PutVersionCommand, RawPullCommand, RawPushCommand

public interface ZanataCommand


Method Summary
 String getDeprecationMessage()
          If the command has been deprecated, returns a message (eg a command which replaces the deprecated command).
 String getName()
          Returns the command name (eg Maven goal name)
 boolean isDeprecated()
          Returns true if the command has been deprecated.
 void run()
          Executes the command, using the parameters which have been previously set.
 

Method Detail

run

void run()
         throws Exception
Executes the command, using the parameters which have been previously set. This method must be called after initConfig().

Throws:
Exception

isDeprecated

boolean isDeprecated()
Returns true if the command has been deprecated.

Returns:

getDeprecationMessage

String getDeprecationMessage()
If the command has been deprecated, returns a message (eg a command which replaces the deprecated command).

Returns:

getName

String getName()
Returns the command name (eg Maven goal name)

Returns:


Copyright © 2013 Zanata Project. All Rights Reserved.