Class SyslogNorthbounderConfig

  • All Implemented Interfaces:
    java.io.Serializable

    public class SyslogNorthbounderConfig
    extends java.lang.Object
    implements java.io.Serializable
    Configuration for Syslog NBI implementation.
    Author:
    David Hustace
    See Also:
    Serialized Form
    • Constructor Detail

      • SyslogNorthbounderConfig

        public SyslogNorthbounderConfig()
    • Method Detail

      • getDestinations

        public java.util.List<SyslogDestination> getDestinations()
        Gets the destinations.
        Returns:
        the destinations
      • setDestinations

        public void setDestinations​(java.util.List<SyslogDestination> destinations)
        Sets the destinations.
        Parameters:
        destinations - the new destinations
      • getUeis

        public java.util.List<java.lang.String> getUeis()
        Gets the UEIs.
        Returns:
        the UEIs
      • setUeis

        public void setUeis​(java.util.List<java.lang.String> ueis)
        Sets the UEIs.
        Parameters:
        ueis - the new UEIs
      • getMessageFormat

        public java.lang.String getMessageFormat()
        Gets the message format.
        Returns:
        the message format
      • setMessageFormat

        public void setMessageFormat​(java.lang.String messageFormat)
        Sets the message format.
        Parameters:
        messageFormat - the new message format
      • getDateFormat

        public java.lang.String getDateFormat()
        Gets the date format.
        Returns:
        the date format
      • setDateFormat

        public void setDateFormat​(java.lang.String dateFormat)
        Sets the date format.
        Parameters:
        dateFormat - sets the date format
      • getNaglesDelay

        public java.lang.Integer getNaglesDelay()
        Gets the nagles delay.
        Returns:
        the nagles delay
      • setNaglesDelay

        public void setNaglesDelay​(java.lang.Integer naglesDelay)
        Sets the nagles delay.
        Parameters:
        naglesDelay - the new nagles delay
      • getBatchSize

        public java.lang.Integer getBatchSize()
        Gets the batch size.
        Returns:
        the batch size
      • setBatchSize

        public void setBatchSize​(java.lang.Integer batchSize)
        Sets the batch size.
        Parameters:
        batchSize - the new batch size
      • getQueueSize

        public java.lang.Integer getQueueSize()
        Gets the queue size.
        Returns:
        the queue size
      • setQueueSize

        public void setQueueSize​(java.lang.Integer alarmQueueSize)
        Sets the queue size.
        Parameters:
        alarmQueueSize - the new queue size
      • isEnabled

        public java.lang.Boolean isEnabled()
        Checks if is enabled.
        Returns:
        the boolean
      • setEnabled

        public void setEnabled​(java.lang.Boolean enabled)
        Sets the enabled.
        Parameters:
        enabled - the new enabled
      • getSyslogDestination

        public SyslogDestination getSyslogDestination​(java.lang.String syslogDestinationName)
        Gets a specific Syslog destination.
        Parameters:
        syslogDestinationName - the Syslog destination name
        Returns:
        the Syslog destination
      • addSyslogDestination

        public void addSyslogDestination​(SyslogDestination syslogDestination)
        Adds a specific Syslog destination.

        If there is a destination with the same name, the existing one will be overridden.

        Parameters:
        syslogDestination - the Syslog destination object
      • removeSyslogDestination

        public boolean removeSyslogDestination​(java.lang.String syslogDestinationName)
        Removes a specific syslog destination.
        Parameters:
        syslogDestinationName - the Syslog destination name
        Returns:
        true, if successful