|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.notificationCommands.NotificationCommands
public class NotificationCommands
Top-level element for the notificationCommands.xml configuration file.
| Constructor Summary | |
|---|---|
NotificationCommands()
|
|
| Method Summary | |
|---|---|
void |
addCommand(Command vCommand)
Method addCommand |
void |
addCommand(int index,
Command vCommand)
Method addCommand |
void |
clearCommand()
Method clearCommand |
java.util.Enumeration |
enumerateCommand()
Method enumerateCommand |
Command[] |
getCommand()
Method getCommand |
Command |
getCommand(int index)
Method getCommand |
java.util.ArrayList |
getCommandCollection()
Method getCommandCollection Returns a reference to 'command'. |
int |
getCommandCount()
Method getCommandCount |
Header |
getHeader()
Returns the value of field 'header'. |
boolean |
isValid()
Method isValid |
void |
marshal(org.xml.sax.ContentHandler handler)
Method marshal |
void |
marshal(java.io.Writer out)
Method marshal |
boolean |
removeCommand(Command vCommand)
Method removeCommand |
void |
setCommand(java.util.ArrayList commandCollection)
Method setCommand Sets the value of 'command' by copying the given ArrayList. |
void |
setCommand(Command[] commandArray)
Method setCommand |
void |
setCommand(int index,
Command vCommand)
Method setCommand |
void |
setCommandCollection(java.util.ArrayList commandCollection)
Method setCommandCollection Sets the value of 'command' by setting it to the given ArrayList. |
void |
setHeader(Header header)
Sets the value of field 'header'. |
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 NotificationCommands()
| Method Detail |
|---|
public void addCommand(Command vCommand)
throws java.lang.IndexOutOfBoundsException
vCommand -
java.lang.IndexOutOfBoundsException
public void addCommand(int index,
Command vCommand)
throws java.lang.IndexOutOfBoundsException
index - vCommand -
java.lang.IndexOutOfBoundsExceptionpublic void clearCommand()
public java.util.Enumeration enumerateCommand()
public Command getCommand(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic Command[] getCommand()
public java.util.ArrayList getCommandCollection()
public int getCommandCount()
public Header getHeader()
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 removeCommand(Command vCommand)
vCommand -
public void setCommand(int index,
Command vCommand)
throws java.lang.IndexOutOfBoundsException
index - vCommand -
java.lang.IndexOutOfBoundsExceptionpublic void setCommand(Command[] commandArray)
commandArray - public void setCommand(java.util.ArrayList commandCollection)
commandCollection - the Vector to copy.public void setCommandCollection(java.util.ArrayList commandCollection)
commandCollection - the ArrayList to copy.public void setHeader(Header header)
header - the value of field 'header'.
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 | ||||||||