scheduler/src/main/java/com/cognitree/kronos/scheduler/ConfigurationService.java
/**
     * Delegate the config update to the appropriate service
     *
     * @param configUpdate the configuration update
     * @throws ServiceException, ValidationException, SchedulerException: exceptions thrown by the services
     */
Delegate the config update to the appropriate service
@param configUpdate the configuration update
@throws ServiceException, ValidationException, SchedulerException: exceptions thrown by the services
Delegate the config update to the appropriate service @param configUpdate the configuration update @throws ServiceException ValidationException SchedulerException : exceptions thrown by the services
private void processUpdate(ConfigUpdate configUpdate)
            throws ServiceException, ValidationException, SchedulerException {
        if (configUpdate.getModel() instanceof Namespace) {
            processUpdate(configUpdate.getAction(), (Namespace) configUpdate.getModel());
        } else if (configUpdate.getModel() instanceof Workflow) {
            processUpdate(configUpdate.getAction(), (Workflow) configUpdate.getModel());
        } else if (configUpdate.getModel() instanceof WorkflowTrigger) {
            processUpdate(configUpdate.getAction(), (WorkflowTrigger) configUpdate.getModel());
        } else {
            logger.error("processUpdate : received an unhandled model object in the config update : {}", configUpdate);
            throw new UnsupportedOperationException("Unsupported entity : " + configUpdate.getModel());
        }
    }
private void processUpdate ( ConfigUpdate configUpdate ) throws ServiceException , ValidationException , SchedulerException { if ( configUpdate . getModel ( ) instanceof Namespace ) { processUpdate ( configUpdate . getAction ( ) , ( Namespace ) configUpdate . getModel ( ) ) ; } else if ( configUpdate . getModel ( ) instanceof Workflow ) { processUpdate ( configUpdate . getAction ( ) , ( Workflow ) configUpdate . getModel ( ) ) ; } else if ( configUpdate . getModel ( ) instanceof WorkflowTrigger ) { processUpdate ( configUpdate . getAction ( ) , ( WorkflowTrigger ) configUpdate . getModel ( ) ) ; } else { logger . error ( "processUpdate : received an unhandled model object in the config update : {}" , configUpdate ) ; throw new UnsupportedOperationException ( "Unsupported entity : " + configUpdate . getModel ( ) ) ; } }
Delegate the config update to the appropriate service
 @param configUpdate the configuration update
 @throws ServiceException, ValidationException, SchedulerException: exceptions thrown by the services
Delegate the config update to the appropriate service @param configUpdate the configuration update @throws ServiceException ValidationException SchedulerException : exceptions thrown by the services