|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.notificationCommands.Command
public class Command
Class Command.
| Constructor Summary | |
|---|---|
Command()
|
|
| Method Summary | |
|---|---|
void |
addArgument(Argument vArgument)
Method addArgument |
void |
addArgument(int index,
Argument vArgument)
Method addArgument |
void |
clearArgument()
Method clearArgument |
java.util.Enumeration |
enumerateArgument()
Method enumerateArgument |
Argument[] |
getArgument()
Method getArgument |
Argument |
getArgument(int index)
Method getArgument |
java.util.ArrayList |
getArgumentCollection()
Method getArgumentCollection Returns a reference to 'argument'. |
int |
getArgumentCount()
Method getArgumentCount |
java.lang.String |
getBinary()
Returns the value of field 'binary'. |
java.lang.String |
getComment()
Returns the value of field 'comment'. |
java.lang.String |
getExecute()
Returns the value of field 'execute'. |
java.lang.String |
getName()
Returns the value of field 'name'. |
boolean |
isValid()
Method isValid |
void |
marshal(org.xml.sax.ContentHandler handler)
Method marshal |
void |
marshal(java.io.Writer out)
Method marshal |
boolean |
removeArgument(Argument vArgument)
Method removeArgument |
void |
setArgument(Argument[] argumentArray)
Method setArgument |
void |
setArgument(java.util.ArrayList argumentCollection)
Method setArgument Sets the value of 'argument' by copying the given ArrayList. |
void |
setArgument(int index,
Argument vArgument)
Method setArgument |
void |
setArgumentCollection(java.util.ArrayList argumentCollection)
Method setArgumentCollection Sets the value of 'argument' by setting it to the given ArrayList. |
void |
setBinary(java.lang.String binary)
Sets the value of field 'binary'. |
void |
setComment(java.lang.String comment)
Sets the value of field 'comment'. |
void |
setExecute(java.lang.String execute)
Sets the value of field 'execute'. |
void |
setName(java.lang.String name)
Sets the value of field 'name'. |
static java.lang.Object |
unmarshal(java.io.Reader reader)
Method unmarshal |
void |
validate()
Method validate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Command()
| Method Detail |
|---|
public void addArgument(Argument vArgument)
throws java.lang.IndexOutOfBoundsException
vArgument -
java.lang.IndexOutOfBoundsException
public void addArgument(int index,
Argument vArgument)
throws java.lang.IndexOutOfBoundsException
index - vArgument -
java.lang.IndexOutOfBoundsExceptionpublic void clearArgument()
public java.util.Enumeration enumerateArgument()
public Argument getArgument(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic Argument[] getArgument()
public java.util.ArrayList getArgumentCollection()
public int getArgumentCount()
public java.lang.String getBinary()
public java.lang.String getComment()
public java.lang.String getExecute()
public java.lang.String getName()
public boolean isValid()
public void marshal(java.io.Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
out -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void marshal(org.xml.sax.ContentHandler handler)
throws java.io.IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
handler -
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationExceptionpublic boolean removeArgument(Argument vArgument)
vArgument -
public void setArgument(int index,
Argument vArgument)
throws java.lang.IndexOutOfBoundsException
index - vArgument -
java.lang.IndexOutOfBoundsExceptionpublic void setArgument(Argument[] argumentArray)
argumentArray - public void setArgument(java.util.ArrayList argumentCollection)
argumentCollection - the Vector to copy.public void setArgumentCollection(java.util.ArrayList argumentCollection)
argumentCollection - the ArrayList to copy.public void setBinary(java.lang.String binary)
binary - the value of field 'binary'.public void setComment(java.lang.String comment)
comment - the value of field 'comment'.public void setExecute(java.lang.String execute)
execute - the value of field 'execute'.public void setName(java.lang.String name)
name - the value of field 'name'.
public static java.lang.Object unmarshal(java.io.Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
reader -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void validate()
throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||