edu.internet2.middleware.grouper.app.gsh
Class history

java.lang.Object
  extended by edu.internet2.middleware.grouper.app.gsh.history

public class history
extends Object

GrouperShell History.

Since:
0.0.1
Version:
$Id: history.java,v 1.2 2008-09-29 03:38:28 mchyzer Exp $
Author:
blair christensen.

Constructor Summary
history()
           
 
Method Summary
static void invoke(bsh.Interpreter i, bsh.CallStack stack)
          Print commands that have been run.
static void invoke(bsh.Interpreter i, bsh.CallStack stack, int cnt)
          Print the last cnt commands that have been run.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

history

public history()
Method Detail

invoke

public static void invoke(bsh.Interpreter i,
                          bsh.CallStack stack)
                   throws GrouperShellException
Print commands that have been run.

Parameters:
i - BeanShell interpreter.
stack - BeanShell call stack.
Throws:
GrouperShellException
Since:
0.0.1

invoke

public static void invoke(bsh.Interpreter i,
                          bsh.CallStack stack,
                          int cnt)
                   throws GrouperShellException
Print the last cnt commands that have been run.

Parameters:
i - BeanShell interpreter.
stack - BeanShell call stack.
cnt - Print the last cnt commands.
Throws:
GrouperShellException
Since:
0.0.1