public class RegistryReset extends Object
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.
Constructor and Description |
---|
RegistryReset() |
Modifier and Type | Method and Description |
---|---|
void |
_addSubjects() |
static void |
_addSubjects(int start,
int end) |
protected static void |
internal_addTestSubjects() |
static void |
internal_resetRegistryAndAddTestSubjects() |
static void |
internal_resetRegistryAndAddTestSubjects(boolean includeTypesAndFields) |
static void |
main(String[] args)
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.
|
public static void main(String[] args)
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
args
- public static void reset()
public static void reset(boolean promptUser, boolean includeTypesAndFields)
promptUser
- includeTypesAndFields
- protected static void internal_addTestSubjects()
public static void internal_resetRegistryAndAddTestSubjects()
public static void internal_resetRegistryAndAddTestSubjects(boolean includeTypesAndFields)
includeTypesAndFields
- public void _addSubjects() throws GrouperException
GrouperException
public static void _addSubjects(int start, int end) throws GrouperException
GrouperException
Copyright © 2016 Internet2. All rights reserved.