Class GrouperProvisioningOutput
java.lang.Object
edu.internet2.middleware.grouper.app.provisioning.GrouperProvisioningOutput
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addDelete
(int deletesToAdd) add delete countvoid
addInsert
(int insertToAdd) add insert recordsvoid
addQueryCount
(int amountToAdd) add to query countvoid
addRecordsSelectedFromOrigin
(int recordsToAdd) add records selected from the FROM databasevoid
addRecordsSelectedTarget
(int recordsToAdd) add records selected tovoid
addRecordsWithDeleteErrors
(int recordsWithDeleteToAdd) add records with delete errorvoid
addRecordsWithEqualData
(int recordsWithEqualDataToAdd) records with equal datavoid
addRecordsWithInsertErrors
(int insertErrorsToAdd) add records with insert errorsvoid
addRecordsWithPrimaryKeyErrors
(int addRecordsWithPrimaryKeyErrors) add records with primary key errorsvoid
addRecordsWithUpdateErrors
(int recordsWithUpdateErrorsToAdd) add records with update errorsvoid
addReplace
(int replacesToAdd) add replace countvoid
addTotalCount
(int totalCount1) void
addUpdate
(int updatesToAdd) add update countvoid
void
debugMapAdd
(String key, int value) increment a value in the debug mapint
loader logint
long
millis get datalong
int
int
records selected from the FROM databaseint
records selected in the "to" databaseint
int
records with equal dataint
count of all errorsint
records with insert errorsint
records with primary key errorsint
records with update errorsint
groups that were switched toint
total count of recordsint
boolean
if there were so many records that switched to full sync switchFromIncrementalToFullIfOverRecordsvoid
setDelete
(int delete1) void
setGrouperProvisioner
(GrouperProvisioner grouperProvisioner) void
setHib3GrouperLoaderLog
(Hib3GrouperLoaderLog hib3GrouperLoaderLog1) loader logvoid
setInsert
(int insert1) void
setMessage
(String message1) void
setMillisGetData
(long millisGetData1) millis get datavoid
setMillisLoadData
(long millisLoadData1) void
setQueryCount
(int queryCount) void
setRecordsSelectedFromOrigin
(int recordsSelectedFrom1) records selected from the FROM databasevoid
setRecordsSelectedTarget
(int recordsSelectedTo1) records selected in the "to" databasevoid
setRecordsWithDeleteErrors
(int recordsWithDeleteErrors) void
setRecordsWithEqualData
(int recordsWithEqualData1) records with equal datavoid
setRecordsWithInsertErrors
(int recordsWithInsertErrors) records with insert errorsvoid
setRecordsWithPrimaryKeyErrors
(int recordsWithPrimaryKeyErrors1) records with primary key errorsvoid
setRecordsWithUpdateErrors
(int recordsWithUpdateErrors1) records with update errorsvoid
setReplace
(int replace) void
setSwitchedToFull
(boolean switchedToFull1) if there were so many records that switched to full syncvoid
setSwitchedToGroups
(Set<ProvisioningGroup> switchedToGroups1) groups that were switched tovoid
setTotalCount
(int totalCount1) total count of recordsvoid
setUpdate
(int update1) toString()
-
Constructor Details
-
GrouperProvisioningOutput
public GrouperProvisioningOutput()
-
-
Method Details
-
toString
-
getMillisGetData
public long getMillisGetData()millis get data- Returns:
-
setMillisGetData
public void setMillisGetData(long millisGetData1) millis get data- Parameters:
millisGetData1
-
-
getMillisLoadData
public long getMillisLoadData()- Returns:
-
setMillisLoadData
public void setMillisLoadData(long millisLoadData1) - Parameters:
millisLoadData1
-
-
getTotalCount
public int getTotalCount()total count of records- Returns:
- the total count
-
setTotalCount
public void setTotalCount(int totalCount1) total count of records- Parameters:
totalCount1
-
-
getSwitchedToGroups
groups that were switched to- Returns:
- groups
-
setSwitchedToGroups
groups that were switched to- Parameters:
switchedToGroups1
-
-
isSwitchedToFull
public boolean isSwitchedToFull()if there were so many records that switched to full sync switchFromIncrementalToFullIfOverRecords- Returns:
- if switched to full
-
setSwitchedToFull
public void setSwitchedToFull(boolean switchedToFull1) if there were so many records that switched to full sync- Parameters:
switchedToFull1
-
-
getRecordsSelectedFromOrigin
public int getRecordsSelectedFromOrigin()records selected from the FROM database- Returns:
- the recordsSelectedFrom
-
setRecordsSelectedFromOrigin
public void setRecordsSelectedFromOrigin(int recordsSelectedFrom1) records selected from the FROM database- Parameters:
recordsSelectedFrom1
- the recordsSelectedFrom to set
-
addRecordsSelectedFromOrigin
public void addRecordsSelectedFromOrigin(int recordsToAdd) add records selected from the FROM database- Parameters:
recordsToAdd
-
-
getQueryCount
public int getQueryCount()- Returns:
- the queryCount
-
setQueryCount
public void setQueryCount(int queryCount) - Parameters:
queryCount
- the queryCount to set
-
addQueryCount
public void addQueryCount(int amountToAdd) add to query count- Parameters:
amountToAdd
-
-
getRecordsSelectedTarget
public int getRecordsSelectedTarget()records selected in the "to" database- Returns:
- the recordsSelectedTo
-
setRecordsSelectedTarget
public void setRecordsSelectedTarget(int recordsSelectedTo1) records selected in the "to" database- Parameters:
recordsSelectedTo1
- the recordsSelectedTo to set
-
addRecordsSelectedTarget
public void addRecordsSelectedTarget(int recordsToAdd) add records selected to- Parameters:
recordsToAdd
-
-
getRecordsWithEqualData
public int getRecordsWithEqualData()records with equal data- Returns:
- the recordsWithEqualData
-
setRecordsWithEqualData
public void setRecordsWithEqualData(int recordsWithEqualData1) records with equal data- Parameters:
recordsWithEqualData1
- the recordsWithEqualData to set
-
addRecordsWithEqualData
public void addRecordsWithEqualData(int recordsWithEqualDataToAdd) records with equal data- Parameters:
recordsWithEqualDataToAdd
-
-
getRecordsWithErrors
public int getRecordsWithErrors()count of all errors- Returns:
-
getRecordsWithDeleteErrors
public int getRecordsWithDeleteErrors()- Returns:
- the recordsWithDeleteErrors
-
setRecordsWithDeleteErrors
public void setRecordsWithDeleteErrors(int recordsWithDeleteErrors) - Parameters:
recordsWithDeleteErrors
- the recordsWithDeleteErrors to set
-
addRecordsWithDeleteErrors
public void addRecordsWithDeleteErrors(int recordsWithDeleteToAdd) add records with delete error- Parameters:
recordsWithDeleteToAdd
-
-
getRecordsWithInsertErrors
public int getRecordsWithInsertErrors()records with insert errors- Returns:
- the recordsWithInsertErrors
-
setRecordsWithInsertErrors
public void setRecordsWithInsertErrors(int recordsWithInsertErrors) records with insert errors- Parameters:
recordsWithInsertErrors
- the recordsWithInsertErrors to set
-
addRecordsWithInsertErrors
public void addRecordsWithInsertErrors(int insertErrorsToAdd) add records with insert errors- Parameters:
insertErrorsToAdd
-
-
getRecordsWithUpdateErrors
public int getRecordsWithUpdateErrors()records with update errors- Returns:
- the recordsWithUpdateErrors
-
setRecordsWithUpdateErrors
public void setRecordsWithUpdateErrors(int recordsWithUpdateErrors1) records with update errors- Parameters:
recordsWithUpdateErrors1
- the recordsWithUpdateErrors to set
-
addRecordsWithUpdateErrors
public void addRecordsWithUpdateErrors(int recordsWithUpdateErrorsToAdd) add records with update errors- Parameters:
recordsWithUpdateErrorsToAdd
-
-
getRecordsWithPrimaryKeyErrors
public int getRecordsWithPrimaryKeyErrors()records with primary key errors- Returns:
- the recordsWithPrimaryKeyErrors
-
setRecordsWithPrimaryKeyErrors
public void setRecordsWithPrimaryKeyErrors(int recordsWithPrimaryKeyErrors1) records with primary key errors- Parameters:
recordsWithPrimaryKeyErrors1
- the recordsWithPrimaryKeyErrors to set
-
addRecordsWithPrimaryKeyErrors
public void addRecordsWithPrimaryKeyErrors(int addRecordsWithPrimaryKeyErrors) add records with primary key errors- Parameters:
addRecordsWithPrimaryKeyErrors
-
-
getInsert
public int getInsert()- Returns:
- the insert
-
setInsert
public void setInsert(int insert1) - Parameters:
insert1
- the insert to set
-
addInsert
public void addInsert(int insertToAdd) add insert records- Parameters:
insertToAdd
-
-
getReplace
public int getReplace() -
setReplace
public void setReplace(int replace) -
getUpdate
public int getUpdate()- Returns:
- the update
-
setUpdate
public void setUpdate(int update1) - Parameters:
update1
- the update to set
-
addUpdate
public void addUpdate(int updatesToAdd) add update count- Parameters:
updatesToAdd
-
-
addReplace
public void addReplace(int replacesToAdd) add replace count- Parameters:
replacesToAdd
-
-
getDelete
public int getDelete()- Returns:
- the delete
-
setDelete
public void setDelete(int delete1) - Parameters:
delete1
- the delete to set
-
addDelete
public void addDelete(int deletesToAdd) add delete count- Parameters:
deletesToAdd
-
-
getMessage
- Returns:
- the message
-
setMessage
- Parameters:
message1
- the message to set
-
getHib3GrouperLoaderLog
loader log- Returns:
- log
-
setHib3GrouperLoaderLog
loader log- Parameters:
hib3GrouperLoaderLog1
-
-
copyToHib3LoaderLog
public void copyToHib3LoaderLog() -
getGrouperProvisioner
-
setGrouperProvisioner
-
debugMapAdd
increment a value in the debug map- Parameters:
key
-value
-
-
addTotalCount
public void addTotalCount(int totalCount1)
-