org.rhq.enterprise.server.plugins.alertCli
Class CliSender

java.lang.Object
  extended by org.rhq.enterprise.server.plugin.pc.alert.AlertSender<CliComponent>
      extended by org.rhq.enterprise.server.plugins.alertCli.CliSender

public class CliSender
extends AlertSender<CliComponent>

Uses CLI to perform the alert notification.

Author:
Lukas Krejci

Field Summary
static String PROP_PACKAGE_ID
           
static String PROP_REPO_ID
           
static String PROP_USER_ID
           
static String PROP_USER_NAME
           
static String PROP_USER_PASSWORD
           
 
Fields inherited from class org.rhq.enterprise.server.plugin.pc.alert.AlertSender
alertParameters, extraParameters, pluginComponent, preferences, serverPluginEnvironment
 
Constructor Summary
CliSender()
           
 
Method Summary
 String previewConfiguration()
           
 SenderResult send(Alert alert)
           
 AlertSenderValidationResults validateAndFinalizeConfiguration(Subject subject)
           
 
Methods inherited from class org.rhq.enterprise.server.plugin.pc.alert.AlertSender
fence, unfence, unfence
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROP_PACKAGE_ID

public static final String PROP_PACKAGE_ID
See Also:
Constant Field Values

PROP_REPO_ID

public static final String PROP_REPO_ID
See Also:
Constant Field Values

PROP_USER_ID

public static final String PROP_USER_ID
See Also:
Constant Field Values

PROP_USER_NAME

public static final String PROP_USER_NAME
See Also:
Constant Field Values

PROP_USER_PASSWORD

public static final String PROP_USER_PASSWORD
See Also:
Constant Field Values
Constructor Detail

CliSender

public CliSender()
Method Detail

send

public SenderResult send(Alert alert)
Specified by:
send in class AlertSender<CliComponent>

previewConfiguration

public String previewConfiguration()
Overrides:
previewConfiguration in class AlertSender<CliComponent>

validateAndFinalizeConfiguration

public AlertSenderValidationResults validateAndFinalizeConfiguration(Subject subject)
Overrides:
validateAndFinalizeConfiguration in class AlertSender<CliComponent>


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.