public interface Executable
Command.| Modifier and Type | Method and Description |
|---|---|
boolean |
execute(String param)
Runs this executable with the given parameter.
|
String |
getParameter() |
boolean |
isEnabled() |
boolean |
isExecuted() |
boolean |
isSupported() |
boolean execute(String param)
param - the execution parametertrue if the execution succeeds, false otherwiseCommandManager.execute(Command, String)boolean isSupported()
true if this executable is supported by its underlying execution target, false otherwiseCommandManager.isSupported(Command)boolean isEnabled()
true if this executable can be executed on its underlying execution target, false
otherwiseCommandManager.isEnabled(Command)boolean isExecuted()
true if this executable has been executed on its underlying execution target, false
otherwise area.CommandManager.isExecuted(Command)String getParameter()
isExecuted() returns true, null otherwiseCopyright © 2004–2016 XWiki. All rights reserved.