getName method

String getName (ICommand command)

Gets the name of the wrapped command.

The interceptor can use this method to override the command name. Otherwise it shall just delegate the call to the wrapped command.

  • command the next command in the call chain. Returns the name of the wrapped command.