Class BulkUpdateMirrorRequest
- java.lang.Object
-
- com.atlassian.bamboo.plugins.stash.rest.entity.BulkUpdateMirrorRequest
-
public class BulkUpdateMirrorRequest extends Object
-
-
Constructor Summary
Constructors Constructor Description BulkUpdateMirrorRequest(String mirrorId, boolean resetToPrimary, boolean ignoreErrors, boolean dryRun)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMirrorId()
boolean
isDryRun()
Allows to get list of affected repositories.boolean
isIgnoreErrors()
boolean
isResetToPrimary()
String
toString()
-
-
-
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.
-
-