Class QueuedItemServiceLimitCheck
java.lang.Object
com.codebarrel.automation.api.service.limit.QueuedItemServiceLimitCheck
A check that is run on the final execution of a rule to check if it exceeded the allowed queued item limit
set in service limits.
If the rule exceeded this, then an appropriate message is added to the audit log an the rule is disabled.
-
Constructor Summary
ConstructorsConstructorDescriptionQueuedItemServiceLimitCheck(AutomationConfigService configService, RuleStatisticsService ruleStatisticsService, TenantService tenantService, AuditService auditService) -
Method Summary
Modifier and TypeMethodDescriptionbooleanisValid(TenantContext context, long ruleId, long auditItemId)
-
Constructor Details
-
QueuedItemServiceLimitCheck
@Inject public QueuedItemServiceLimitCheck(AutomationConfigService configService, RuleStatisticsService ruleStatisticsService, TenantService tenantService, AuditService auditService)
-
-
Method Details
-
isValid
-