|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.web.notification.bobject.Argument
public class Argument
This is a data class to store the argument information for a Command
| Constructor Summary | |
|---|---|
Argument()
Default constructor, initializes the members |
|
| Method Summary | |
|---|---|
String |
getSubstitution()
Returns the substitution switch |
String |
getSwitch()
Returns the switch |
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(String aValue)
Sets the substitution switch |
void |
setSwitch(String aValue)
Sets the switch member |
void |
setValue(String aValue)
Sets the value of the argument |
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 |
| Constructor Detail |
|---|
public Argument()
| Method Detail |
|---|
public void setSwitch(String aValue)
aValue - the value of the switchpublic void setSubstitution(String aValue)
aValue - the value of the substitutionpublic void setValue(String aValue)
aValue - the value of the argumentpublic String getSwitch()
public String getSubstitution()
public String getValue()
public void setStreamed(boolean aBool)
aBool - true if the argument should be sent to a input stream, false
otherwisepublic boolean isStreamed()
public String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||