Dali Provisional API
Release 3.2

org.eclipse.jpt.common.utility.command
Interface ParameterizedCommand<T>

All Superinterfaces:
InterruptibleParameterizedCommand<T>
All Known Implementing Classes:
ParameterizedCommand.Disabled, ParameterizedCommand.Null

public interface ParameterizedCommand<T>
extends InterruptibleParameterizedCommand<T>

Simple interface for implementing a command that takes a single argument.

Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.


Nested Class Summary
static class ParameterizedCommand.Disabled<S>
          Singleton implementation of the command interface that will throw an exception when executed.
static class ParameterizedCommand.Null<S>
          Singleton implementation of the command interface that will do nothing when executed.
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.common.utility.command.InterruptibleParameterizedCommand
InterruptibleParameterizedCommand.Interrupted<S>
 
Method Summary
 void execute(T argument)
          Execute the command.
 

Method Detail

execute

void execute(T argument)
Execute the command. The semantics of the command is determined by the contract between the client and server.

Specified by:
execute in interface InterruptibleParameterizedCommand<T>

Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.