public class FreezeProgress extends MessageBean
Modifier and Type | Field and Description |
---|---|
private boolean |
aborted
True if the background task should be aborted.
|
private com.playsql.requirementyogi.exceptions.BaselineCreationException.Situation |
errorType
If the baseline is in an ERROR status and it came from a BaselineCreationException, the type will be
written here.
|
private Integer |
estimatedTotal
Estimated number of requirements to land in this baseline.
|
private static com.atlassian.extras.common.log.Logger.Log |
log |
private int |
percentProgress
The percentage of progress, betweeo 0 and 100.
|
private String |
recoveryAction
If errorType is present and a recovery action is possible, it will be written here.
|
private String |
recoveryQuery |
Constructor and Description |
---|
FreezeProgress() |
Modifier and Type | Method and Description |
---|---|
static FreezeProgress |
deserialize(String json) |
boolean |
equals(Object o)
Used when saving, to compare whether anything needs to be saved
|
com.playsql.requirementyogi.exceptions.BaselineCreationException.Situation |
getErrorType() |
Integer |
getEstimatedTotal() |
int |
getPercentProgress() |
String |
getRecoveryAction() |
String |
getRecoveryQuery() |
int |
hashCode() |
boolean |
isAborted() |
static String |
serialize(FreezeProgress progress) |
void |
setAborted(boolean aborted) |
void |
setErrorType(com.playsql.requirementyogi.exceptions.BaselineCreationException.Situation errorType) |
void |
setEstimatedTotal(Integer estimatedTotal) |
void |
setPercentProgress(int percentProgress) |
void |
setRecoveryAction(String recoveryAction) |
void |
setRecoveryQuery(String recoveryQuery) |
String |
toString() |
addAll, addCredentialsException, addError, addFixUrl, addInfo, addSuccess, addWarning, asPairs, getErrorFixAction, getErrorFixUrl, getErrors, getInfo, getSuccess, getWarnings, hasAny
private static final com.atlassian.extras.common.log.Logger.Log log
private int percentProgress
private Integer estimatedTotal
private boolean aborted
private com.playsql.requirementyogi.exceptions.BaselineCreationException.Situation errorType
private String recoveryAction
private String recoveryQuery
public int getPercentProgress()
public void setPercentProgress(int percentProgress)
public Integer getEstimatedTotal()
public void setEstimatedTotal(Integer estimatedTotal)
public boolean isAborted()
public void setAborted(boolean aborted)
public com.playsql.requirementyogi.exceptions.BaselineCreationException.Situation getErrorType()
public void setErrorType(com.playsql.requirementyogi.exceptions.BaselineCreationException.Situation errorType)
public String getRecoveryAction()
public void setRecoveryAction(String recoveryAction)
public String getRecoveryQuery()
public void setRecoveryQuery(String recoveryQuery)
public boolean equals(Object o)
equals
in class MessageBean
public int hashCode()
hashCode
in class MessageBean
public String toString()
toString
in class MessageBean
public static String serialize(FreezeProgress progress)
public static FreezeProgress deserialize(String json)
Copyright © 2022 Requirement Yogi. All rights reserved.