Class RegistryReset
java.lang.Object
edu.internet2.middleware.grouper.registry.RegistryReset
Perform low-level operations on the Groups Registry.
WARNING: Do not run the methods expose by this class against your Grouper installation unless you know what you are doing. It will delete data.
- Version:
- $Id: RegistryReset.java,v 1.13 2009-10-23 15:28:31 tzeller Exp $
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
static void
_addSubjects
(int start, int end) protected static void
static void
static void
internal_resetRegistryAndAddTestSubjects
(boolean includeTypesAndFields) static void
Reset the Groups Registry.static void
reset()
Attempt to reset the Groups Registry to a pristine state.static void
reset
(boolean promptUser, boolean includeTypesAndFields) Attempt to reset the Groups Registry to a pristine state.
-
Constructor Details
-
RegistryReset
public RegistryReset()
-
-
Method Details
-
main
Reset the Groups Registry.WARNING: This is a destructive act and will delete all groups, stems, members, memberships and subjects from your Groups Registry. Do not run this unless that is what you want.
% java edu.internet2.middleware.grouper.RegistryReset
- Parameters:
args
-
-
reset
public static void reset()Attempt to reset the Groups Registry to a pristine state. -
reset
public static void reset(boolean promptUser, boolean includeTypesAndFields) Attempt to reset the Groups Registry to a pristine state.- Parameters:
promptUser
-includeTypesAndFields
-
-
internal_addTestSubjects
protected static void internal_addTestSubjects() -
internal_resetRegistryAndAddTestSubjects
public static void internal_resetRegistryAndAddTestSubjects() -
internal_resetRegistryAndAddTestSubjects
public static void internal_resetRegistryAndAddTestSubjects(boolean includeTypesAndFields) - Parameters:
includeTypesAndFields
-
-
_addSubjects
- Throws:
GrouperException
-
_addSubjects
- Throws:
GrouperException
-