Hyperic HQ Plugin API v. 4.4.0.2

org.hyperic.hq.bizapp.shared.action
Class EnableAlertDefActionConfig

java.lang.Object
  extended by org.hyperic.hq.bizapp.shared.action.EnableAlertDefActionConfig
All Implemented Interfaces:
ActionConfigInterface

public class EnableAlertDefActionConfig
extends java.lang.Object
implements ActionConfigInterface

Shared configs for enable alert definition action


Field Summary
static java.lang.String CFG_ID
           
 
Constructor Summary
EnableAlertDefActionConfig()
          Creates a new instance of SharedEmailAction
 
Method Summary
 int getAlertDefId()
          Returns the alertDefId.
 ConfigResponse getConfigResponse()
          Get the configuration response for the action based on its properties
 ConfigSchema getConfigSchema()
          Get the configuration schema for the action
 java.lang.String getImplementor()
          Get the name of the action class
 void init(ConfigResponse config)
          Initialize the action instance
 void setAlertDefId(int alertDefId)
          Sets the alertDefId.
 void setImplementor(java.lang.String implementor)
          Allow implementor to be overwritten
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CFG_ID

public static final java.lang.String CFG_ID
See Also:
Constant Field Values
Constructor Detail

EnableAlertDefActionConfig

public EnableAlertDefActionConfig()
Creates a new instance of SharedEmailAction

Method Detail

getConfigSchema

public ConfigSchema getConfigSchema()
Description copied from interface: ActionConfigInterface
Get the configuration schema for the action

Specified by:
getConfigSchema in interface ActionConfigInterface
Returns:
a config schema

getConfigResponse

public ConfigResponse getConfigResponse()
                                 throws InvalidOptionException,
                                        InvalidOptionValueException
Description copied from interface: ActionConfigInterface
Get the configuration response for the action based on its properties

Specified by:
getConfigResponse in interface ActionConfigInterface
Returns:
a config schema
Throws:
InvalidOptionException
InvalidOptionValueException

init

public void init(ConfigResponse config)
          throws InvalidActionDataException
Initialize the action instance

Specified by:
init in interface ActionConfigInterface
Parameters:
props - configuration properties
Throws:
InvalidActionDataException

getAlertDefId

public int getAlertDefId()
Returns the alertDefId.

Returns:
int

setAlertDefId

public void setAlertDefId(int alertDefId)
Sets the alertDefId.

Parameters:
alertDefId - The type to alertDefId

getImplementor

public java.lang.String getImplementor()
Get the name of the action class

Specified by:
getImplementor in interface ActionConfigInterface
Returns:
the name of the implementing class

setImplementor

public void setImplementor(java.lang.String implementor)
Description copied from interface: ActionConfigInterface
Allow implementor to be overwritten

Specified by:
setImplementor in interface ActionConfigInterface

Hyperic HQ Plugin API v. 4.4.0.2

Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.