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, orderingProperties, resultType, SORTORDER_ASC, SORTORDER_DESC, validators
authCheck, databaseType, DEFAULT_ORDER_BY, firstResult, maxResults, orderBy, parameter, tenantCheck
Constructor and Description |
---|
DeploymentStatisticsQueryImpl(CommandExecutor executor) |
addExpression, addValidator, asc, count, desc, direction, evaluateExpressions, evaluateExpressionsAndExecuteCount, evaluateExpressionsAndExecuteList, execute, executeSingleResult, extend, getExpressions, getMethod, getOrderBy, getOrderingProperties, hasExcludingConditions, list, listPage, mergeExpressions, mergeOrdering, orderBy, orderBy, removeValidator, setCommandExecutor, setExpressions, setOrderingProperties, singleResult, validate, validate
getAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderBy, 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 © 2018. All rights reserved.