|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.vacuumd.VacuumdConfiguration
public class VacuumdConfiguration
Top-level element for the vacuumd-configuration.xml configuration file.
| Constructor Summary | |
|---|---|
VacuumdConfiguration()
|
|
| Method Summary | |
|---|---|
void |
addStatement(int index,
Statement vStatement)
|
void |
addStatement(Statement vStatement)
|
void |
deletePeriod()
|
Enumeration<Statement> |
enumerateStatement()
Method enumerateStatement. |
ActionEvents |
getActionEvents()
Returns the value of field 'actionEvents'. |
Actions |
getActions()
Returns the value of field 'actions'. |
AutoEvents |
getAutoEvents()
Returns the value of field 'autoEvents'. |
Automations |
getAutomations()
Returns the value of field 'automations'. |
int |
getPeriod()
Returns the value of field 'period'. |
Statement[] |
getStatement()
Method getStatement.Returns the contents of the collection in an Array. |
Statement |
getStatement(int index)
Method getStatement. |
List<Statement> |
getStatementCollection()
Method getStatementCollection.Returns a reference to '_statementList'. |
int |
getStatementCount()
Method getStatementCount. |
Triggers |
getTriggers()
Returns the value of field 'triggers'. |
boolean |
hasPeriod()
Method hasPeriod. |
boolean |
isValid()
Method isValid. |
Iterator<Statement> |
iterateStatement()
Method iterateStatement. |
void |
marshal(ContentHandler handler)
|
void |
marshal(Writer out)
|
void |
removeAllStatement()
|
boolean |
removeStatement(Statement vStatement)
Method removeStatement. |
Statement |
removeStatementAt(int index)
Method removeStatementAt. |
void |
setActionEvents(ActionEvents actionEvents)
Sets the value of field 'actionEvents'. |
void |
setActions(Actions actions)
Sets the value of field 'actions'. |
void |
setAutoEvents(AutoEvents autoEvents)
Sets the value of field 'autoEvents'. |
void |
setAutomations(Automations automations)
Sets the value of field 'automations'. |
void |
setPeriod(int period)
Sets the value of field 'period'. |
void |
setStatement(int index,
Statement vStatement)
|
void |
setStatement(List<Statement> vStatementList)
Sets the value of '_statementList' by copying the given Vector. |
void |
setStatement(Statement[] vStatementArray)
|
void |
setStatementCollection(List<Statement> statementList)
Deprecated. |
void |
setTriggers(Triggers triggers)
Sets the value of field 'triggers'. |
static VacuumdConfiguration |
unmarshal(Reader reader)
Method unmarshal. |
void |
validate()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VacuumdConfiguration()
| Method Detail |
|---|
public void addStatement(Statement vStatement)
throws IndexOutOfBoundsException
vStatement -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addStatement(int index,
Statement vStatement)
throws IndexOutOfBoundsException
index - vStatement -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void deletePeriod()
public Enumeration<Statement> enumerateStatement()
public ActionEvents getActionEvents()
public Actions getActions()
public AutoEvents getAutoEvents()
public Automations getAutomations()
public int getPeriod()
public Statement getStatement(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Statement[] getStatement()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public List<Statement> getStatementCollection()
public int getStatementCount()
public Triggers getTriggers()
public boolean hasPeriod()
public boolean isValid()
public Iterator<Statement> iterateStatement()
public void marshal(Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
out -
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
public void marshal(ContentHandler handler)
throws IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
handler -
IOException - if an IOException occurs during
marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshalingpublic void removeAllStatement()
public boolean removeStatement(Statement vStatement)
vStatement -
public Statement removeStatementAt(int index)
index -
public void setActionEvents(ActionEvents actionEvents)
actionEvents - the value of field 'actionEvents'.public void setActions(Actions actions)
actions - the value of field 'actions'.public void setAutoEvents(AutoEvents autoEvents)
autoEvents - the value of field 'autoEvents'.public void setAutomations(Automations automations)
automations - the value of field 'automations'.public void setPeriod(int period)
period - the value of field 'period'.
public void setStatement(int index,
Statement vStatement)
throws IndexOutOfBoundsException
index - vStatement -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setStatement(Statement[] vStatementArray)
vStatementArray - public void setStatement(List<Statement> vStatementList)
vStatementList - the Vector to copy.public void setStatementCollection(List<Statement> statementList)
statementList - the Vector to set.public void setTriggers(Triggers triggers)
triggers - the value of field 'triggers'.
public static VacuumdConfiguration unmarshal(Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
reader -
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
public void validate()
throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||