|
OpenNMS API 1.2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opennms.web.notification.bobject.Argument
This is a data class to store the argument information for a Command
Field Summary | |
private boolean |
m_streamed
A boolean indicating if this argument should be sent to the console command via an input stream. |
private java.lang.String |
m_substitution
The substitution switch that should be used when using this argument with the console command. |
private java.lang.String |
m_switch
The switch that the Notify class identifies with the value of this argument |
private java.lang.String |
m_value
The value of the argument |
Constructor Summary | |
Argument()
Default constructor, initializes the members |
Method Summary | |
java.lang.String |
getSubstitution()
Returns the substitution switch |
java.lang.String |
getSwitch()
Returns the switch |
java.lang.String |
getValue()
Returns the value of the argument |
boolean |
isStreamed()
Returns the boolean indicating if this argument should be sent to an input stream. |
void |
setStreamed(boolean aBool)
Sets the boolean indicating if this argument should be sent to an input stream |
void |
setSubstitution(java.lang.String aValue)
Sets the substitution switch |
void |
setSwitch(java.lang.String aValue)
Sets the switch member |
void |
setValue(java.lang.String aValue)
Sets the value of the argument |
java.lang.String |
toString()
Returns a string representation of the argument, for purposes of debugging |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private java.lang.String m_switch
private java.lang.String m_substitution
private java.lang.String m_value
private boolean m_streamed
Constructor Detail |
public Argument()
Method Detail |
public void setSwitch(java.lang.String aValue)
aValue
- the value of the switchpublic void setSubstitution(java.lang.String aValue)
aValue
- the value of the substitutionpublic void setValue(java.lang.String aValue)
aValue
- the value of the argumentpublic java.lang.String getSwitch()
public java.lang.String getSubstitution()
public java.lang.String getValue()
public void setStreamed(boolean aBool)
aBool
- true if the argument should be sent to a input stream, false
otherwisepublic boolean isStreamed()
public java.lang.String toString()
|
OpenNMS API 1.2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |