Class BulkUpdateMirrorRequest

java.lang.Object
com.atlassian.bamboo.plugins.stash.rest.entity.BulkUpdateMirrorRequest

public class BulkUpdateMirrorRequest extends Object
  • Constructor Details

    • BulkUpdateMirrorRequest

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

    • 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.
    • toString

      public String toString()
      Overrides:
      toString in class Object