Class GrouperProvisioningDiagnosticsContainer
java.lang.Object
edu.internet2.middleware.grouper.app.provisioning.GrouperProvisioningDiagnosticsContainer
- Direct Known Subclasses:
LdapSyncDiagnosticsContainer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
append configuration to diagnosticsvoid
remove group from entity as an entity attribute in targetvoid
delete entity from targetvoid
remove entity from group as a group attribute in targetvoid
delete group from targetprotected void
override this to log the external systemvoid
void
insert group to entity as an entity attribute in targetvoid
insert entity into targetvoid
insert entity to group as a group attribute in targetvoid
insert group into targetvoid
appendReportLineIfNotBlank
(String string) append this to log, and put a not before each line this will escape htmlvoid
void
void
void
select an entity from groupervoid
select an entity from targetvoid
select a group from groupervoid
select a group from targetvoid
get current durationsettings for how diagnostics is going to gohave a progress beanget report to append.void
init the config of diagnostics from provisioner configurationboolean
void
run diagnosticsvoid
setGrouperProvisioner
(GrouperProvisioner grouperProvisioner) void
setUniqueDiagnosticsId
(String uniqueDiagnosticsId) void
updateProvisioningEntityWrapperAfterTargetQuery
(List<ProvisioningEntity> targetEntities) void
updateProvisioningGroupWrapperAfterTargetQuery
(List<ProvisioningGroup> targetGroups) void
updateProvisioningMembershipWrapperAfterTargetQuery
(List<ProvisioningMembership> targetMemberships)
-
Constructor Details
-
GrouperProvisioningDiagnosticsContainer
public GrouperProvisioningDiagnosticsContainer()
-
-
Method Details
-
isInDiagnostics
public boolean isInDiagnostics()- Returns:
- true if in diagnostics execution
-
getProgressBean
have a progress bean- Returns:
- the progressBean
-
getUniqueDiagnosticsId
-
setUniqueDiagnosticsId
-
getReportFinal
-
getGrouperProvisioner
-
setGrouperProvisioner
-
getReportInProgress
get report to append. Assume the output is preformatted- Returns:
- report
-
appendConfiguration
public void appendConfiguration()append configuration to diagnostics -
runDiagnostics
public void runDiagnostics()run diagnostics -
appendExternalSystem
protected void appendExternalSystem()override this to log the external system -
appendSelectGroupFromGrouper
public void appendSelectGroupFromGrouper()select a group from grouper -
appendSelectEntityFromGrouper
public void appendSelectEntityFromGrouper()select an entity from grouper -
appendInsertGroupAttributesMembershipIntoTarget
public void appendInsertGroupAttributesMembershipIntoTarget()insert entity to group as a group attribute in target -
appendInsertMembershipObjectsIntoTarget
- Returns:
- null if not applicable, true if inserted, false if already existed
-
appendDeleteMembershipObjectsFromTarget
- Returns:
- null if not applicable, true if deleted, false if didn't exist
-
appendDeleteGroupAttributesMembershipFromTarget
public void appendDeleteGroupAttributesMembershipFromTarget()remove entity from group as a group attribute in target -
appendInsertGroupIntoTarget
public void appendInsertGroupIntoTarget()insert group into target -
updateProvisioningGroupWrapperAfterTargetQuery
-
updateProvisioningMembershipWrapperAfterTargetQuery
public void updateProvisioningMembershipWrapperAfterTargetQuery(List<ProvisioningMembership> targetMemberships) -
appendDeleteGroupFromTarget
public void appendDeleteGroupFromTarget()delete group from target -
appendInsertEntityIntoTarget
public void appendInsertEntityIntoTarget()insert entity into target -
updateProvisioningEntityWrapperAfterTargetQuery
public void updateProvisioningEntityWrapperAfterTargetQuery(List<ProvisioningEntity> targetEntities) -
appendDeleteEntityFromTarget
public void appendDeleteEntityFromTarget()delete entity from target -
appendSelectGroupFromTarget
public void appendSelectGroupFromTarget()select a group from target -
appendSelectEntityFromTarget
public void appendSelectEntityFromTarget()select an entity from target -
appendValidation
public void appendValidation() -
appendGeneralInfo
public void appendGeneralInfo() -
getCurrentDuration
get current duration- Returns:
- duration
-
appendSelectAllGroups
public void appendSelectAllGroups() -
appendReportLineIfNotBlank
append this to log, and put a not before each line this will escape html- Parameters:
string
-
-
getGrouperProvisioningDiagnosticsSettings
settings for how diagnostics is going to go- Returns:
-
appendSelectAllEntities
public void appendSelectAllEntities() -
appendSelectAllMemberships
public void appendSelectAllMemberships() -
appendInsertEntityAttributesMembershipIntoTarget
public void appendInsertEntityAttributesMembershipIntoTarget()insert group to entity as an entity attribute in target -
appendDeleteEntityAttributesMembershipFromTarget
public void appendDeleteEntityAttributesMembershipFromTarget()remove group from entity as an entity attribute in target -
initFromConfiguration
public void initFromConfiguration()init the config of diagnostics from provisioner configuration
-