Class registryInitializeSchema
java.lang.Object
edu.internet2.middleware.grouper.app.gsh.registryInitializeSchema
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 $
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
constant to drop then createstatic final int
if we should write and run script, or just write it -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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)static String
invoke
(GrouperSession grouperSession, int options) Create tables and init schema (depending on configuration in grouper.properties)
-
Field Details
-
DROP_THEN_CREATE
public static final int DROP_THEN_CREATEconstant to drop then create- See Also:
-
WRITE_AND_RUN_SCRIPT
public static final int WRITE_AND_RUN_SCRIPTif we should write and run script, or just write it- See Also:
-
-
Constructor Details
-
registryInitializeSchema
public registryInitializeSchema()
-
-
Method Details
-
invoke
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
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
-
invoke
Create tables and init schema (depending on configuration in grouper.properties)- Parameters:
grouperSession
-options
-- Returns:
- a string
-