org.eclipse.jpt.common.utility.command
Class RepeatingCommand.Null
java.lang.Object
org.eclipse.jpt.common.utility.command.RepeatingCommand.Null
- All Implemented Interfaces:
- Serializable, Command, InterruptibleCommand, RepeatingCommand
- Enclosing interface:
- RepeatingCommand
public static final class RepeatingCommand.Null
- extends Object
- implements RepeatingCommand, Serializable
Singleton implementation of the repeating command interface that will do
nothing when executed.
- See Also:
- Serialized Form
INSTANCE
public static final RepeatingCommand INSTANCE
instance
public static RepeatingCommand instance()
start
public void start()
- Description copied from interface:
RepeatingCommand
- Start the command, allowing it to begin executing with the next call to
Command.execute().
- Specified by:
start in interface RepeatingCommand
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
stop
public void stop()
- Description copied from interface:
RepeatingCommand
- Stop the command; ignore further calls to
Command.execute().
- Specified by:
stop in interface RepeatingCommand
toString
public String toString()
- Overrides:
toString in class Object
Copyright (c) 2012 Oracle. All rights reserved.