Class TextToSpeechTool.TextToSpeechCommand

java.lang.Object
com.levigo.jadice.web.demo.enterprise.client.TextToSpeechTool.TextToSpeechCommand
All Implemented Interfaces:
Command
Enclosing class:
TextToSpeechTool

public class TextToSpeechTool.TextToSpeechCommand extends Object implements Command
  • Constructor Details

    • TextToSpeechCommand

      public TextToSpeechCommand()
  • Method Details

    • execute

      public void execute(Collection<Object> args)
      Description copied from interface: Command
      Execute the command.
      Specified by:
      execute in interface Command
      Parameters:
      args - arguments for the command (contains all items for all actions inside of the context!)
    • canExecute

      public boolean canExecute(Collection<Object> args)
      Description copied from interface: Command
      Permission checking for a command works as follows:

      1. Check user privileges if the command is executable.
      2. Ask if the command is executable with the given objects.

      Specified by:
      canExecute in interface Command
      Parameters:
      args - arguments for the command
      Returns:
      true - executable with these arguments,
      false - impossible to execute this command with these arguments