Class BulkUpdateMirrorRequest
java.lang.Object
com.atlassian.bamboo.plugins.stash.rest.entity.BulkUpdateMirrorRequest
-
Constructor Summary
ConstructorDescriptionBulkUpdateMirrorRequest
(String mirrorId, boolean resetToPrimary, boolean ignoreErrors, boolean dryRun) -
Method Summary
-
Constructor Details
-
BulkUpdateMirrorRequest
public BulkUpdateMirrorRequest(String mirrorId, boolean resetToPrimary, boolean ignoreErrors, boolean dryRun)
-
-
Method Details
-
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
-