org.eclipse.emf.emfstore.internal.server.core
Class InternalCommand<T extends AbstractEmfstoreInterface>

java.lang.Object
  extended by org.eclipse.emf.emfstore.internal.server.core.InternalCommand<T>
Type Parameters:
T - the emfstore interface

public abstract class InternalCommand<T extends AbstractEmfstoreInterface>
extends Object

Internal command, in order to avoid accesscontrol.


Constructor Summary
InternalCommand()
           
 
Method Summary
abstract  void doExecute()
          Runs the internal command.
 T getInterface()
           
 void setInterface(AbstractEmfstoreInterface theInterface)
          Sets the interface which runs the command.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InternalCommand

public InternalCommand()
Method Detail

setInterface

public void setInterface(AbstractEmfstoreInterface theInterface)
Sets the interface which runs the command.

Parameters:
theInterface - the emfstore interface

getInterface

public T getInterface()
Returns:
the theInterface

doExecute

public abstract void doExecute()
Runs the internal command.



Copyright © 2015. All Rights Reserved.