Class BulkUpdateMirrorRequest


  • public class BulkUpdateMirrorRequest
    extends Object
    • Constructor Detail

      • BulkUpdateMirrorRequest

        public BulkUpdateMirrorRequest​(String mirrorId,
                                       boolean resetToPrimary,
                                       boolean ignoreErrors,
                                       boolean dryRun)
    • Method Detail

      • getMirrorId

        public String getMirrorId()
        Returns:
        mirror id to be set for all repositories
      • isResetToPrimary

        public boolean isResetToPrimary()
        Returns:
        if mirror settings should be cleared and every repository switch to primary server.
      • isIgnoreErrors

        public boolean isIgnoreErrors()
        Returns:
        if errors should be ignored and affected repositories will be skipped.
      • isDryRun

        public boolean isDryRun()
        Allows to get list of affected repositories.
        Returns:
        if no changes should be stored to DB.