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

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

public class registryInitializeSchema
extends Object

Create tables and init schema (if configured)

Since:
0.0.1
Version:
$Id: registryInitializeSchema.java,v 1.2 2008-10-24 05:51:47 mchyzer Exp $
Author:
Chris Hyzer

Field Summary
static int DROP_THEN_CREATE
          constant to drop then create
static int WRITE_AND_RUN_SCRIPT
          if we should write and run script, or just write it
 
Constructor Summary
registryInitializeSchema()
           
 
Method Summary
static String invoke(bsh.Interpreter interpreter, bsh.CallStack stack)
          Create tables and init schema (depending on configuration in grouper.properties)

static String invoke(bsh.Interpreter interpreter, bsh.CallStack stack, int options)
          Create tables and init schema (depending on configuration in grouper.properties)

 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DROP_THEN_CREATE

public static final int DROP_THEN_CREATE
constant to drop then create

See Also:
Constant Field Values

WRITE_AND_RUN_SCRIPT

public static final int WRITE_AND_RUN_SCRIPT
if we should write and run script, or just write it

See Also:
Constant Field Values
Constructor Detail

registryInitializeSchema

public registryInitializeSchema()
Method Detail

invoke

public static String invoke(bsh.Interpreter interpreter,
                            bsh.CallStack stack)
Create tables and init schema (depending on configuration in grouper.properties)

Parameters:
interpreter - BeanShell interpreter.
stack - BeanShell call stack.
Returns:
a string
Since:
0.0.1

invoke

public static String invoke(bsh.Interpreter interpreter,
                            bsh.CallStack stack,
                            int options)
Create tables and init schema (depending on configuration in grouper.properties)

Parameters:
interpreter - BeanShell interpreter.
stack - BeanShell call stack.
options -
Returns:
a string
Since:
0.0.1