Class GrouperProvisioningDiagnosticsContainer

java.lang.Object
edu.internet2.middleware.grouper.app.provisioning.GrouperProvisioningDiagnosticsContainer
Direct Known Subclasses:
LdapSyncDiagnosticsContainer

public class GrouperProvisioningDiagnosticsContainer extends Object
  • Constructor Details

    • GrouperProvisioningDiagnosticsContainer

      public GrouperProvisioningDiagnosticsContainer()
  • Method Details

    • isInDiagnostics

      public boolean isInDiagnostics()
      Returns:
      true if in diagnostics execution
    • getProgressBean

      public ProgressBean getProgressBean()
      have a progress bean
      Returns:
      the progressBean
    • getUniqueDiagnosticsId

      public String getUniqueDiagnosticsId()
    • setUniqueDiagnosticsId

      public void setUniqueDiagnosticsId(String uniqueDiagnosticsId)
    • getReportFinal

      public String getReportFinal()
    • getGrouperProvisioner

      public GrouperProvisioner getGrouperProvisioner()
    • setGrouperProvisioner

      public void setGrouperProvisioner(GrouperProvisioner grouperProvisioner)
    • getReportInProgress

      public StringBuilder 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

      public Boolean appendInsertMembershipObjectsIntoTarget()
      Returns:
      null if not applicable, true if inserted, false if already existed
    • appendDeleteMembershipObjectsFromTarget

      public Boolean 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

      public void updateProvisioningGroupWrapperAfterTargetQuery(List<ProvisioningGroup> targetGroups)
    • 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

      public String getCurrentDuration()
      get current duration
      Returns:
      duration
    • appendSelectAllGroups

      public void appendSelectAllGroups()
    • appendReportLineIfNotBlank

      public void appendReportLineIfNotBlank(String string)
      append this to log, and put a not before each line this will escape html
      Parameters:
      string -
    • getGrouperProvisioningDiagnosticsSettings

      public GrouperProvisioningDiagnosticsSettings 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