edu.stanford.hci.r3.actions.types
Class RunAppAction

java.lang.Object
  extended by edu.stanford.hci.r3.actions.types.RunAppAction
All Implemented Interfaces:
R3Action

public class RunAppAction
extends java.lang.Object
implements R3Action

Run a local file, that is either in the system PATH, or addressed by an absolute path.

This software is distributed under the BSD License.


Constructor Summary
RunAppAction(java.io.File execFile)
           
RunAppAction(java.lang.String execName)
          Use this for running apps that are in the System PATH.
 
Method Summary
 void invoke()
          Invoke this action on the local machine.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface edu.stanford.hci.r3.actions.R3Action
toString
 

Constructor Detail

RunAppAction

public RunAppAction(java.io.File execFile)
Parameters:
execFile -

RunAppAction

public RunAppAction(java.lang.String execName)
Use this for running apps that are in the System PATH.

Parameters:
execName -
Method Detail

invoke

public void invoke()
Description copied from interface: R3Action
Invoke this action on the local machine. If you want to invoke this on a remote machine, you will need to send it across the wire. That machine will then unserialize the action object and call invoke() on ITS local machine.

Specified by:
invoke in interface R3Action
See Also:
R3Action.invoke()

Copyright 2006 Stanford University