DevSummaryCachePrimingStatus.java 文件源码

java
阅读 14 收藏 0 点赞 0 评论 0

项目:jira-dvcs-connector 作者:
/**
 * Constructor for deserialisation from JSON (for example in the unit test).
 *
 * @param inProgress whether indexing is in progress
 * @param issueKeyCount the number of issues keys fetched so far
 * @param totalIssueKeyCount the total number of issues keys to fetch
 * @param pullRequestCount the number of pull requests fetched so far
 * @param totalPullRequestCount the total number of pull requests to fetch
 * @param exception any exception that occurred during reindexing
 * @param stopped whether the user has stopped the reindexing
 */
@JsonCreator
DevSummaryCachePrimingStatus(
        @JsonProperty ("inProgress") final boolean inProgress,
        @JsonProperty ("issueKeyCount") final int issueKeyCount,
        @JsonProperty ("totalIssueKeyCount") final int totalIssueKeyCount,
        @JsonProperty ("pullRequestCount") final int pullRequestCount,
        @JsonProperty ("totalPullRequestCount") final int totalPullRequestCount,
        @JsonProperty ("error") final Exception exception,
        @JsonProperty ("stopped") final boolean stopped,
        @JsonProperty ("timeTaken") final String timeTaken)
{
    this();
    this.exception.set(exception);
    this.inProgress.set(inProgress);
    this.stopped.set(stopped);
    this.issueKeyCount.set(issueKeyCount);
    this.totalIssueKeyCount.set(totalIssueKeyCount);
    this.pullRequestCount.set(pullRequestCount);
    this.totalPullRequestCount.set(totalPullRequestCount);
    this.timeTaken.set(timeTaken);
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号