com.ibm.portal.model.command
Interface CommandContext<T extends Command>

All Known Subinterfaces:
InstantiateTemplateContentNodeCommand.Context, RefreshPageLayoutCommand.ExecutionContext

public interface CommandContext<T extends Command>

Context object that captures all "environment" information that a command requires to execute. Ths interface is also required to access a command instance via the CommandFactory.

Since:
8.0

Method Summary
 java.lang.Class<T> getCommandClass()
          Returns the class object of the command for this context
 

Method Detail

getCommandClass

java.lang.Class<T> getCommandClass()
Returns the class object of the command for this context

Returns:
the class object, not null