|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.internet2.middleware.grouper.misc.FindBadMemberships
public class FindBadMemberships
Find bad memberships in the Grouper memberships table. This script is used to find bad memberships in Grouper. If a bad membership is found, a GSH script will be created to resolve the issue.
| Field Summary | |
|---|---|
static java.io.StringWriter |
gshScript
GSH script to fix membership data |
static java.io.PrintStream |
out
|
| Constructor Summary | |
|---|---|
FindBadMemberships()
|
|
| Method Summary | |
|---|---|
static long |
checkAll()
|
static void |
checkAll(java.io.PrintStream printStream)
|
static long |
checkComposites()
|
static long |
checkGroupSets()
Note that this isn't a complete check of the group set table.. |
static void |
clearResults()
call this before finding bad memberships |
static void |
main(java.lang.String[] args)
|
static void |
printErrorsToSTOUT(boolean v)
Set whether to print errors to STDOUT. |
static void |
writeGshScriptToFile()
Write GSH script to file. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static java.io.PrintStream out
public static java.io.StringWriter gshScript
| Constructor Detail |
|---|
public FindBadMemberships()
| Method Detail |
|---|
public static void clearResults()
public static void main(java.lang.String[] args)
args -
public static void checkAll(java.io.PrintStream printStream)
throws SessionException
printStream -
SessionExceptionpublic static long checkAll()
public static void printErrorsToSTOUT(boolean v)
v - public static long checkGroupSets()
public static long checkComposites()
public static void writeGshScriptToFile()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||