AlertConditionControlCategoryComposite controlComposite = (AlertConditionControlCategoryComposite) composite;
String option = alertCondition.getOption();
OperationRequestStatus operationRequestStatus = OperationRequestStatus.valueOf(option.toUpperCase());
try {
ResourceOperationCacheElement cacheElement = new ResourceOperationCacheElement(alertConditionOperator,
operationRequestStatus, alertConditionId);
// auto-boxing always safe
addToResourceOperationCache(controlComposite.getResourceId(),
controlComposite.getOperationDefinitionId(), cacheElement, alertConditionId, stats);