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

java.lang.Object
  extended by org.rhq.enterprise.server.plugins.alertCli.CliComponent
All Implemented Interfaces:
ControlFacet, ServerPluginComponent

public class CliComponent
extends Object
implements ServerPluginComponent, ControlFacet

The plugin component for controlling the CLI alerts.

Author:
Lukas Krejci

Field Summary
static String PACKAGE_TYPE_NAME
           
 
Constructor Summary
CliComponent()
           
 
Method Summary
 PackageType getScriptPackageType()
           
 int getScriptTimeout()
           
 void initialize(ServerPluginContext context)
           
 ControlResults invoke(String name, Configuration parameters)
           
 void shutdown()
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PACKAGE_TYPE_NAME

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

CliComponent

public CliComponent()
Method Detail

initialize

public void initialize(ServerPluginContext context)
                throws Exception
Specified by:
initialize in interface ServerPluginComponent
Throws:
Exception

getScriptPackageType

public PackageType getScriptPackageType()

getScriptTimeout

public int getScriptTimeout()

start

public void start()
Specified by:
start in interface ServerPluginComponent

stop

public void stop()
Specified by:
stop in interface ServerPluginComponent

shutdown

public void shutdown()
Specified by:
shutdown in interface ServerPluginComponent

invoke

public ControlResults invoke(String name,
                             Configuration parameters)
Specified by:
invoke in interface ControlFacet


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