Class VacuumdConfiguration
- java.lang.Object
-
- org.opennms.netmgt.config.vacuumd.VacuumdConfiguration
-
- All Implemented Interfaces:
java.io.Serializable
public class VacuumdConfiguration extends java.lang.Object implements java.io.Serializable
Top-level element for the vacuumd-configuration.xml configuration file.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VacuumdConfiguration()
VacuumdConfiguration(java.lang.Integer period, java.util.List<Statement> statements, java.util.List<Automation> automations, java.util.List<Trigger> triggers, java.util.List<Action> actions, java.util.List<AutoEvent> autoEvents, java.util.List<ActionEvent> actionEvents)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAction(Action action)
void
addActionEvent(ActionEvent actionEvent)
void
addAutoEvent(AutoEvent autoEvent)
void
addAutomation(Automation automation)
void
addStatement(Statement statement)
void
addTrigger(Trigger trigger)
boolean
equals(java.lang.Object obj)
java.util.List<ActionEvent>
getActionEvents()
java.util.List<Action>
getActions()
java.util.List<AutoEvent>
getAutoEvents()
java.util.List<Automation>
getAutomations()
java.lang.Integer
getPeriod()
java.util.List<Statement>
getStatements()
java.util.List<Trigger>
getTriggers()
int
hashCode()
boolean
removeAction(Action action)
boolean
removeActionEvent(ActionEvent actionEvent)
boolean
removeAutoEvent(AutoEvent autoEvent)
boolean
removeAutomation(Automation automation)
boolean
removeStatement(Statement statement)
boolean
removeTrigger(Trigger trigger)
void
setActionEvents(java.util.List<ActionEvent> actionEvents)
void
setActions(java.util.List<Action> actions)
void
setAutoEvents(java.util.List<AutoEvent> autoEvents)
void
setAutomations(java.util.List<Automation> automations)
void
setPeriod(java.lang.Integer period)
void
setStatements(java.util.List<Statement> statements)
void
setTriggers(java.util.List<Trigger> triggers)
-
-
-
Constructor Detail
-
VacuumdConfiguration
public VacuumdConfiguration()
-
VacuumdConfiguration
public VacuumdConfiguration(java.lang.Integer period, java.util.List<Statement> statements, java.util.List<Automation> automations, java.util.List<Trigger> triggers, java.util.List<Action> actions, java.util.List<AutoEvent> autoEvents, java.util.List<ActionEvent> actionEvents)
-
-
Method Detail
-
getPeriod
public java.lang.Integer getPeriod()
-
setPeriod
public void setPeriod(java.lang.Integer period)
-
getStatements
public java.util.List<Statement> getStatements()
-
setStatements
public void setStatements(java.util.List<Statement> statements)
-
addStatement
public void addStatement(Statement statement)
-
removeStatement
public boolean removeStatement(Statement statement)
-
getAutomations
public java.util.List<Automation> getAutomations()
-
setAutomations
public void setAutomations(java.util.List<Automation> automations)
-
addAutomation
public void addAutomation(Automation automation)
-
removeAutomation
public boolean removeAutomation(Automation automation)
-
getTriggers
public java.util.List<Trigger> getTriggers()
-
setTriggers
public void setTriggers(java.util.List<Trigger> triggers)
-
addTrigger
public void addTrigger(Trigger trigger)
-
removeTrigger
public boolean removeTrigger(Trigger trigger)
-
getActions
public java.util.List<Action> getActions()
-
setActions
public void setActions(java.util.List<Action> actions)
-
addAction
public void addAction(Action action)
-
removeAction
public boolean removeAction(Action action)
-
getAutoEvents
public java.util.List<AutoEvent> getAutoEvents()
-
setAutoEvents
public void setAutoEvents(java.util.List<AutoEvent> autoEvents)
-
addAutoEvent
public void addAutoEvent(AutoEvent autoEvent)
-
removeAutoEvent
public boolean removeAutoEvent(AutoEvent autoEvent)
-
getActionEvents
public java.util.List<ActionEvent> getActionEvents()
-
setActionEvents
public void setActionEvents(java.util.List<ActionEvent> actionEvents)
-
addActionEvent
public void addActionEvent(ActionEvent actionEvent)
-
removeActionEvent
public boolean removeActionEvent(ActionEvent actionEvent)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-