java.lang.Object
org.odpi.openmetadata.repositoryservices.enterprise.repositoryconnector.accumulators.ExceptionAccumulatorBase
org.odpi.openmetadata.repositoryservices.enterprise.repositoryconnector.accumulators.MaintenanceAccumulator
Direct Known Subclasses:
ClassificationAccumulator

public class MaintenanceAccumulator extends ExceptionAccumulatorBase
MaintenanceAccumulator provides a simple accumulator that supports maintenance operations on the metadata repositories.
  • Constructor Details

    • MaintenanceAccumulator

      public MaintenanceAccumulator(AuditLog auditLog)
      Constructor
      Parameters:
      auditLog - logging destination
  • Method Details

    • captureException

      public void captureException(ClassificationErrorException exception)
      Save the supplied exception.
      Parameters:
      exception - exception from remote call
    • captureException

      public void captureException(EntityNotDeletedException exception)
      Save the supplied exception.
      Parameters:
      exception - exception from remote call
    • captureException

      public void captureException(EntityNotKnownException exception)
      Save the supplied exception.
      Parameters:
      exception - exception from remote call
    • captureException

      public void captureException(EntityProxyOnlyException exception)
      Save the supplied exception.
      Parameters:
      exception - exception from remote call
    • captureException

      public void captureException(FunctionNotSupportedException exception)
      Save the supplied exception.
      Parameters:
      exception - exception from remote call
    • captureException

      public void captureException(InvalidParameterException exception)
      Save the supplied exception.
      Parameters:
      exception - exception from remote call
    • captureException

      public void captureException(InvalidTypeDefException exception)
      Save the supplied exception.
      Parameters:
      exception - exception from remote call
    • captureException

      public void captureException(PropertyErrorException exception)
      Save the supplied exception.
      Parameters:
      exception - exception from remote call
    • captureException

      public void captureException(RelationshipNotDeletedException exception)
      Save the supplied exception.
      Parameters:
      exception - exception from remote call
    • captureException

      public void captureException(RelationshipNotKnownException exception)
      Save the supplied exception.
      Parameters:
      exception - exception from remote call
    • captureException

      public void captureException(RepositoryErrorException exception)
      Save the supplied exception.
      Parameters:
      exception - exception from remote call
    • captureException

      public void captureException(StatusNotSupportedException exception)
      Save the supplied exception.
      Parameters:
      exception - exception from remote call
    • captureGenericException

      public void captureGenericException(String actionDescription, String metadataCollectionId, Exception exception)
      Save the supplied exception.
      Parameters:
      actionDescription - description of caller's activity eg methodName
      metadataCollectionId - metadata collection id of repository returning this exception
      exception - exception from remote call
    • captureException

      public void captureException(TypeDefConflictException exception)
      Save the supplied exception.
      Parameters:
      exception - exception from remote call
    • captureException

      public void captureException(TypeDefNotSupportedException exception)
      Save the supplied exception.
      Parameters:
      exception - exception from remote call
    • captureException

      public void captureException(TypeDefNotKnownException exception)
      Save the supplied exception.
      Parameters:
      exception - exception from remote call
    • captureException

      public void captureException(TypeErrorException exception)
      Save the supplied exception.
      Parameters:
      exception - exception from remote call
    • captureException

      public void captureException(UserNotAuthorizedException exception)
      Save the supplied exception.
      Parameters:
      exception - exception from remote call