Class 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 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 class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object