|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hyperic.hq.bizapp.shared.action.SnmpActionConfig
public class SnmpActionConfig
Field Summary | |
---|---|
protected java.lang.String |
address
|
protected static java.lang.String |
CFG_ADDRESS
|
protected static java.lang.String |
CFG_NOTIFICATION_MECHANISM
|
protected static java.lang.String |
CFG_OID
|
protected static java.lang.String |
CFG_VARIABLE_BINDINGS
|
protected java.lang.String |
oid
|
protected java.lang.String |
snmpNotificationMechanism
|
protected java.lang.String |
variableBindings
|
Constructor Summary | |
---|---|
SnmpActionConfig()
|
|
SnmpActionConfig(java.lang.String snmpNotificationMechanism,
java.lang.String address,
java.lang.String oid,
java.lang.String variableBindings)
|
Method Summary | |
---|---|
java.lang.String |
getAddress()
|
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()
Return the name of the class that implements the action |
java.lang.String |
getOid()
|
java.lang.String |
getSnmpNotificationMechanism()
|
java.lang.String |
getVariableBindings()
Gets the variable bindings configuration in JSON format |
void |
init(ConfigResponse config)
Initialize the action instance |
void |
setAddress(java.lang.String address)
|
void |
setImplementor(java.lang.String implementor)
Allow implementor to be overwritten |
void |
setOid(java.lang.String oid)
|
void |
setSnmpNotificationMechanism(java.lang.String snmpNotificationMechanism)
|
void |
setVariableBindings(java.lang.String variableBindings)
Sets the variable bindings configuration in JSONArray format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final java.lang.String CFG_OID
protected static final java.lang.String CFG_ADDRESS
protected static final java.lang.String CFG_NOTIFICATION_MECHANISM
protected static final java.lang.String CFG_VARIABLE_BINDINGS
protected java.lang.String oid
protected java.lang.String address
protected java.lang.String snmpNotificationMechanism
protected java.lang.String variableBindings
Constructor Detail |
---|
public SnmpActionConfig()
public SnmpActionConfig(java.lang.String snmpNotificationMechanism, java.lang.String address, java.lang.String oid, java.lang.String variableBindings)
Method Detail |
---|
public void setOid(java.lang.String oid)
public java.lang.String getOid()
public void setAddress(java.lang.String address)
public java.lang.String getAddress()
public java.lang.String getSnmpNotificationMechanism()
public void setSnmpNotificationMechanism(java.lang.String snmpNotificationMechanism)
public java.lang.String getVariableBindings()
public void setVariableBindings(java.lang.String variableBindings)
public ConfigSchema getConfigSchema()
ActionConfigInterface
getConfigSchema
in interface ActionConfigInterface
public ConfigResponse getConfigResponse() throws InvalidOptionException, InvalidOptionValueException
ActionConfigInterface
getConfigResponse
in interface ActionConfigInterface
InvalidOptionException
InvalidOptionValueException
public void init(ConfigResponse config) throws InvalidActionDataException
ActionConfigInterface
init
in interface ActionConfigInterface
config
- configuration properties
InvalidActionDataException
public java.lang.String getImplementor()
ActionConfigInterface
getImplementor
in interface ActionConfigInterface
public void setImplementor(java.lang.String implementor)
ActionConfigInterface
setImplementor
in interface ActionConfigInterface
|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |