org.eclipse.jpt.common.utility.command
Class ParameterizedCommand.Null<S>
java.lang.Object
org.eclipse.jpt.common.utility.command.ParameterizedCommand.Null<S>
- All Implemented Interfaces:
- Serializable, InterruptibleParameterizedCommand<S>, ParameterizedCommand<S>
- Enclosing interface:
- ParameterizedCommand<T>
public static final class ParameterizedCommand.Null<S>
- extends Object
- implements ParameterizedCommand<S>, Serializable
Singleton implementation of the command interface that will do nothing
when executed.
- See Also:
- Serialized Form
INSTANCE
public static final ParameterizedCommand INSTANCE
instance
public static <R> ParameterizedCommand<R> instance()
execute
public void execute(S argument)
- Description copied from interface:
ParameterizedCommand
- Execute the command. The semantics of the command
is determined by the contract between the client and server.
- Specified by:
execute in interface InterruptibleParameterizedCommand<S>- Specified by:
execute in interface ParameterizedCommand<S>
toString
public String toString()
- Overrides:
toString in class Object
Copyright (c) 2012 Oracle. All rights reserved.