public class DeploymentStatisticsQueryImpl extends AbstractQuery<DeploymentStatisticsQuery,DeploymentStatistics> implements DeploymentStatisticsQuery
AbstractQuery.ResultType
Modifier and Type | Field and Description |
---|---|
protected List<PermissionCheck> |
incidentPermissionChecks |
protected boolean |
includeFailedJobs |
protected boolean |
includeIncidents |
protected String |
includeIncidentsForType |
protected List<PermissionCheck> |
jobPermissionChecks |
protected List<PermissionCheck> |
processInstancePermissionChecks |
protected static long |
serialVersionUID |
commandExecutor, expressions, maxResultsLimitEnabled, resultType, SORTORDER_ASC, SORTORDER_DESC, validators
authCheck, databaseType, firstResult, maxResults, orderingProperties, parameter, tenantCheck
Constructor and Description |
---|
DeploymentStatisticsQueryImpl(CommandExecutor executor) |
addExpression, addValidator, asc, checkMaxResultsLimit, count, desc, direction, disableMaxResultsLimit, enableMaxResultsLimit, evaluateExpressions, evaluateExpressionsAndExecuteCount, evaluateExpressionsAndExecuteDeploymentIdMappingsList, evaluateExpressionsAndExecuteIdsList, evaluateExpressionsAndExecuteList, execute, executeDeploymentIdMappingsList, executeIdsList, executeResult, executeSingleResult, extend, getExpressions, getMethod, hasExcludingConditions, list, listDeploymentIdMappings, listIds, listPage, mergeExpressions, mergeOrdering, orderBy, orderBy, removeValidator, setCommandExecutor, setExpressions, singleResult, unlimitedList, validate, validate
getAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getOrderingProperties, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderingProperties, setParameter, setTenantCheck
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asc, count, desc, list, listPage, singleResult, unlimitedList
isRetryable
protected static final long serialVersionUID
protected boolean includeFailedJobs
protected boolean includeIncidents
protected String includeIncidentsForType
protected List<PermissionCheck> processInstancePermissionChecks
protected List<PermissionCheck> jobPermissionChecks
protected List<PermissionCheck> incidentPermissionChecks
public DeploymentStatisticsQueryImpl(CommandExecutor executor)
public DeploymentStatisticsQuery includeFailedJobs()
DeploymentStatisticsQuery
includeFailedJobs
in interface DeploymentStatisticsQuery
public DeploymentStatisticsQuery includeIncidents()
DeploymentStatisticsQuery
includeIncidents
in interface DeploymentStatisticsQuery
public DeploymentStatisticsQuery includeIncidentsForType(String incidentType)
DeploymentStatisticsQuery
includeIncidentsForType
in interface DeploymentStatisticsQuery
public long executeCount(CommandContext commandContext)
executeCount
in class AbstractQuery<DeploymentStatisticsQuery,DeploymentStatistics>
public List<DeploymentStatistics> executeList(CommandContext commandContext, Page page)
AbstractQuery
executeList
in class AbstractQuery<DeploymentStatisticsQuery,DeploymentStatistics>
page
- used if the results must be paged. If null, no paging will be applied.public boolean isFailedJobsToInclude()
public boolean isIncidentsToInclude()
protected void checkQueryOk()
checkQueryOk
in class AbstractQuery<DeploymentStatisticsQuery,DeploymentStatistics>
public List<PermissionCheck> getProcessInstancePermissionChecks()
public void setProcessInstancePermissionChecks(List<PermissionCheck> processInstancePermissionChecks)
public void addProcessInstancePermissionCheck(List<PermissionCheck> permissionChecks)
public List<PermissionCheck> getJobPermissionChecks()
public void setJobPermissionChecks(List<PermissionCheck> jobPermissionChecks)
public void addJobPermissionCheck(List<PermissionCheck> permissionChecks)
public List<PermissionCheck> getIncidentPermissionChecks()
public void setIncidentPermissionChecks(List<PermissionCheck> incidentPermissionChecks)
public void addIncidentPermissionCheck(List<PermissionCheck> permissionChecks)
Copyright © 2022. All rights reserved.