Dali Provisional API
Release 3.2

org.eclipse.jpt.common.utility.command
Class Command.Disabled

java.lang.Object
  extended by org.eclipse.jpt.common.utility.command.Command.Disabled
All Implemented Interfaces:
Serializable, Command, InterruptibleCommand
Enclosing interface:
Command

public static final class Command.Disabled
extends Object
implements Command, Serializable

Singleton implementation of the command interface that will throw an exception when executed.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.common.utility.command.Command
Command.Disabled, Command.Null
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.common.utility.command.InterruptibleCommand
InterruptibleCommand.Interrupted
 
Field Summary
static Command INSTANCE
           
 
Method Summary
 void execute()
          Execute the command.
static Command instance()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

INSTANCE

public static final Command INSTANCE
Method Detail

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
Specified by:
execute in interface InterruptibleCommand

toString

public String toString()
Overrides:
toString in class Object

Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.