public class DeploymentStatisticsQueryImpl extends AbstractQuery<DeploymentStatisticsQuery,DeploymentStatistics> implements DeploymentStatisticsQuery
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
includeFailedJobs |
protected boolean |
includeIncidents |
protected String |
includeIncidentsForType |
protected static long |
serialVersionUID |
commandContext, commandExecutor, orderBy, orderProperty, resultType, SORTORDER_ASC, SORTORDER_DESCdatabaseType, firstResult, maxResults, parameterauthDefaultPerm, authGroupIds, authPerms, authResourceId, authResourceIdQueryParam, authResourceType, authUserId, isAuthorizationCheckEnabled| Constructor and Description |
|---|
DeploymentStatisticsQueryImpl(CommandExecutor executor) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkQueryOk() |
long |
executeCount(CommandContext commandContext) |
List<DeploymentStatistics> |
executeList(CommandContext commandContext,
Page page)
Executes the actual query to retrieve the list of results.
|
DeploymentStatisticsQuery |
includeFailedJobs()
Include an aggregation of failed jobs in the result.
|
DeploymentStatisticsQuery |
includeIncidents()
Include an aggregation of incidents in the result.
|
DeploymentStatisticsQuery |
includeIncidentsForType(String incidentType)
Include an aggregation of incidents of the assigned incidentType in the result.
|
boolean |
isFailedJobsToInclude() |
boolean |
isIncidentsToInclude() |
addOrder, asc, count, desc, direction, execute, executeSingleResult, getOrderBy, list, listPage, orderBy, setCommandExecutor, singleResultgetDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getParameter, setDatabaseType, setFirstResult, setMaxResults, setParametergetAuthDefaultPerm, getAuthGroupIds, getAuthPerms, getAuthResourceId, getAuthResourceIdQueryParam, getAuthResourceType, getAuthUserId, isAuthorizationCheckEnabled, setAuthDefaultPerm, setAuthGroupIds, setAuthorizationCheckEnabled, setAuthPerms, setAuthResourceId, setAuthResourceIdQueryParam, setAuthResourceType, setAuthUserIdprotected static final long serialVersionUID
protected boolean includeFailedJobs
protected boolean includeIncidents
protected String includeIncidentsForType
public DeploymentStatisticsQueryImpl(CommandExecutor executor)
public DeploymentStatisticsQuery includeFailedJobs()
DeploymentStatisticsQueryincludeFailedJobs in interface DeploymentStatisticsQuerypublic DeploymentStatisticsQuery includeIncidents()
DeploymentStatisticsQueryincludeIncidents in interface DeploymentStatisticsQuerypublic DeploymentStatisticsQuery includeIncidentsForType(String incidentType)
DeploymentStatisticsQueryincludeIncidentsForType in interface DeploymentStatisticsQuerypublic long executeCount(CommandContext commandContext)
executeCount in class AbstractQuery<DeploymentStatisticsQuery,DeploymentStatistics>public List<DeploymentStatistics> executeList(CommandContext commandContext, Page page)
AbstractQueryexecuteList 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>Copyright © 2015. All rights reserved.