public class UpdateStatisticsQueryBuilder
extends java.lang.Object
Update. Allows to update\reset\delete| Modifier and Type | Method and Description |
|---|---|
static org.springframework.data.mongodb.core.query.Update |
dropIssueTypeAware(StatisticSubType subType)
Remove specified custom sub-type for issue statistic of applied element
|
static org.springframework.data.mongodb.core.query.Update |
fromIssueTypeAware(StatisticSubType subType,
int issueTypeCounter)
Aware issue statistic field is specified, or to to_investigate field
instead.
|
static org.springframework.data.mongodb.core.query.Update |
fromIssueTypeAware(TestItem item)
Complex update operator for MongoDB with positive or negative increment
for all defined issue sub-types of specified test item.
|
static org.springframework.data.mongodb.core.query.Update |
fromItemStatusAware(Status status,
int totalCounter,
int statusCounter) |
static org.springframework.data.mongodb.core.query.Update |
fromItemStatusAware(TestItem item,
boolean isReset) |
public static org.springframework.data.mongodb.core.query.Update fromItemStatusAware(Status status, int totalCounter, int statusCounter)
public static org.springframework.data.mongodb.core.query.Update fromItemStatusAware(TestItem item, boolean isReset)
public static org.springframework.data.mongodb.core.query.Update fromIssueTypeAware(StatisticSubType subType, int issueTypeCounter)
subType - - null is cannot be specifiedissueTypeCounter - - count of issues for specified issue counter field (or not
specified)public static org.springframework.data.mongodb.core.query.Update dropIssueTypeAware(StatisticSubType subType)
subType - public static org.springframework.data.mongodb.core.query.Update fromIssueTypeAware(TestItem item)
item -