Examples of AlertSenderValidationResults


Examples of org.rhq.enterprise.server.plugin.pc.alert.AlertSenderValidationResults

            for (AlertNotification notification : notifications) {
                AlertSender<?> sender = pluginManager.getAlertSenderForNotification(notification);

                if (sender != null) {
                    AlertSenderValidationResults validation = sender.validateAndFinalizeConfiguration(subject);

                    notification.setConfiguration(validation.getAlertParameters());
                    notification.setExtraConfiguration(validation.getExtraParameters());

                    hasErrors = hasErrors || hasErrors(validation.getAlertParameters())
                        || hasErrors(validation.getExtraParameters());
                }
            }
        }

        return !hasErrors;
View Full Code Here

Examples of org.rhq.enterprise.server.plugin.pc.alert.AlertSenderValidationResults

        }
    }

    @Override
    public AlertSenderValidationResults validateAndFinalizeConfiguration(Subject subject) {
        AlertSenderValidationResults results = new AlertSenderValidationResults(alertParameters, extraParameters);

        String userIdString = alertParameters.getSimpleValue(PROP_USER_ID, null);
        String userName = alertParameters.getSimpleValue(PROP_USER_NAME, null);
        String userPassword = alertParameters.getSimpleValue(PROP_USER_PASSWORD, null);
View Full Code Here

Examples of org.rhq.enterprise.server.plugin.pc.alert.AlertSenderValidationResults

        }
       
        updateConfig(alertParameters);
        updateConfig(extraParameters);
       
        return new AlertSenderValidationResults(alertParameters, extraParameters);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.