org.xwiki.gwt.user.client.ui.rta.cmd
Interface Executable
public interface Executable
The code associated with a Command.
- Version:
- $Id: Executable.java 26260 2010-01-20 17:21:59Z mflorea $
execute
boolean execute(java.lang.String param)
- Runs this executable with the given parameter.
- Parameters:
param - the execution parameter
- Returns:
true if the execution succeeds, false otherwise- See Also:
CommandManager.execute(Command, String)
isSupported
boolean isSupported()
- Returns:
true if this executable is supported by its underlying execution target, false otherwise- See Also:
CommandManager.isSupported(Command)
isEnabled
boolean isEnabled()
- Returns:
true if this executable can be executed on its underlying execution target, false
otherwise- See Also:
CommandManager.isEnabled(Command)
isExecuted
boolean isExecuted()
- Returns:
true if this executable has been executed on its underlying execution target, false
otherwise area.- See Also:
CommandManager.isExecuted(Command)
getParameter
java.lang.String getParameter()
- Returns:
- the previous execution parameter, if
isExecuted() returns true, null otherwise
Copyright © 2004-2010 XWiki. All Rights Reserved.