org.eclipse.jpt.common.utility
Class Command.Disabled
java.lang.Object
org.eclipse.jpt.common.utility.Command.Disabled
- All Implemented Interfaces:
- java.io.Serializable, Command
- Enclosing interface:
- Command
public static final class Command.Disabled
- extends java.lang.Object
- implements Command, java.io.Serializable
Singleton implementation of the command interface that will throw an
exception when executed.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
INSTANCE
public static final Command INSTANCE
instance
public static Command instance()
execute
public void execute()
- Description copied from interface:
Command
- Execute the command. The semantics of the command
is determined by the contract between the client and server.
- Specified by:
execute in interface Command
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object