org.pentaho.platform.engine.core.solution
Class PluginOperation

java.lang.Object
  extended by org.pentaho.platform.engine.core.solution.PluginOperation
All Implemented Interfaces:
IPluginOperation

public class PluginOperation
extends Object
implements IPluginOperation


Constructor Summary
PluginOperation(String id, String command)
           
 
Method Summary
 String getCommand()
          Gets the command for this operation.
 String getId()
          Gets the id for this operation.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginOperation

public PluginOperation(String id,
                       String command)
Method Detail

getId

public String getId()
Description copied from interface: IPluginOperation
Gets the id for this operation. There is a set of standard ids, e.g. RUN, EDIT, DELETE etc. The id is not an enum so that the list of operations can be extended by plug-ins

Specified by:
getId in interface IPluginOperation
Returns:
The operation id

getCommand

public String getCommand()
Description copied from interface: IPluginOperation
Gets the command for this operation. The commands are typically URLs

Specified by:
getCommand in interface IPluginOperation
Returns:
The operation command