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, evaluateExpressionsAndExecuteIdsList, evaluateExpressionsAndExecuteList, execute, executeIdsList, executeResult, executeSingleResult, extend, getExpressions, getMethod, hasExcludingConditions, list, listIds, listPage, mergeExpressions, mergeOrdering, orderBy, orderBy, removeValidator, setCommandExecutor, setExpressions, singleResult, unboundedResultList, validate, validate
getAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getOrderingProperties, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderingProperties, setParameter, setTenantCheck
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(PermissionCheck permissionCheck)
public List<PermissionCheck> getJobPermissionChecks()
public void setJobPermissionChecks(List<PermissionCheck> jobPermissionChecks)
public void addJobPermissionCheck(PermissionCheck permissionCheck)
public List<PermissionCheck> getIncidentPermissionChecks()
public void setIncidentPermissionChecks(List<PermissionCheck> incidentPermissionChecks)
public void addIncidentPermissionCheck(PermissionCheck permissionCheck)
Copyright © 2019. All rights reserved.