class ContainerRulesConfigPresenter {

    public void onConfigUpdate(@Observes final RuleConfigUpdated configUpdated) {
        if (configUpdated != null &&
                configUpdated.getContainerSpecKey() != null &&
                configUpdated.getContainerSpecKey().equals(containerSpec)) {
            setup(containerSpec,
                  configUpdated.getRuleConfig());
        } else {
            logger.warn("Illegal event argument.");
        }
    }

    @Inject public  ContainerRulesConfigPresenter(final Logger logger,
                                         final View view,
                                         final Caller<RuleCapabilitiesService> ruleCapabilitiesService,
                                         final Event<NotificationEvent> notification);

}