Skip navigation links
Jitsi: the OpenSource Java VoIP and Instant Messaging client.
net.java.sip.communicator.plugin.notificationconfiguration

Class NotificationEntry

    • Constructor Summary

      Constructors 
      Constructor and Description
      NotificationEntry()
      Empty class constructor.
      NotificationEntry(boolean enabled, boolean program, java.lang.String programFile, boolean popup, boolean soundNotification, boolean soundPlayback, boolean soundPCSpeaker, java.lang.String soundFile, java.lang.String event)
      Class constructor with five parameters.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean getEnabled()
      Method which returns the state of the notification.
      java.lang.String getEvent()
      Method which returns the description of the notification.
      boolean getPopup()
      Method which returns true if one systray popup is executed.
      boolean getProgram()
      Method which returns true if one program is executed.
      java.lang.String getProgramFile()
      Method which returns the program's name which is executed.
      java.lang.String getSoundFile()
      Method which returns the sound file name which is executed.
      boolean getSoundNotification()
      Method which returns if one sound is to be played on notification device.
      boolean getSoundPCSpeaker()
      Method which returns if one sound is to be played on pc speaker device.
      boolean getSoundPlayback()
      Method which returns if one sound is to be played on playback device.
      void setEnabled(boolean enabled)
      Method which assigns the notification state.
      void setEvent(java.lang.String event)
      Method which assigns the notification's description.
      void setPopup(boolean popup)
      Method which set a boolean to true if a systray popup is executed for the notification.
      void setProgram(boolean program)
      Method which set a boolean to true if a program is executed for the notification.
      void setProgramFile(java.lang.String programFile)
      Method which assigns the program filename for the notification.
      void setSoundFile(java.lang.String soundFile)
      Method which assigns the sound file name for the notification.
      void setSoundNotification(boolean sound)
      Method which set a boolean to true a sound is playing for the notification.
      void setSoundPCSpeaker(boolean sound)
      Method which set a boolean to true a sound is playing for the pc speaker.
      void setSoundPlayback(boolean sound)
      Method which set a boolean to true a sound is playing for the playback.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NotificationEntry

        public NotificationEntry()
        Empty class constructor. Creates a new instance of NotificationsTableEntry.
      • NotificationEntry

        public NotificationEntry(boolean enabled,
                                 boolean program,
                                 java.lang.String programFile,
                                 boolean popup,
                                 boolean soundNotification,
                                 boolean soundPlayback,
                                 boolean soundPCSpeaker,
                                 java.lang.String soundFile,
                                 java.lang.String event)
        Class constructor with five parameters. Creates a new instance of NotificationsTableEntry.
        Parameters:
        enabled - assigns the value of _enabled to this.enabled.
        program - assigns the value of _program to this.program.
        programFile - assigns the value of _programFile to this.programFile.
        popup - assigns the value of _popup to this.popup.
        soundPlayback - assigns the value of _soundPlayback to this.soundPlayback.
        soundNotification - assigns the value of _soundNotification to this.soundNotification.
        soundPCSpeaker - assigns the value of _soundPCSpeaker to this.soundPCSpeaker.
        soundFile - assigns the value of _soundFile to this.soundFile.
        event - assigns the value of _event to this.event.
    • Method Detail

      • getEnabled

        public boolean getEnabled()
        Method which returns the state of the notification.
        Returns:
        boolean enable/disable.
      • getProgram

        public boolean getProgram()
        Method which returns true if one program is executed.
        Returns:
        boolean true if a programm is executed
      • getProgramFile

        public java.lang.String getProgramFile()
        Method which returns the program's name which is executed.
        Returns:
        String representing the program file name.
      • getPopup

        public boolean getPopup()
        Method which returns true if one systray popup is executed.
        Returns:
        boolean true if a popup is executed.
      • getSoundNotification

        public boolean getSoundNotification()
        Method which returns if one sound is to be played on notification device.
        Returns:
        boolean true if a sound is playing on notification device.
      • getSoundPlayback

        public boolean getSoundPlayback()
        Method which returns if one sound is to be played on playback device.
        Returns:
        boolean true if a sound is playing on playback device.
      • getSoundPCSpeaker

        public boolean getSoundPCSpeaker()
        Method which returns if one sound is to be played on pc speaker device.
        Returns:
        boolean true if a sound is playing on pc speaker device.
      • getSoundFile

        public java.lang.String getSoundFile()
        Method which returns the sound file name which is executed.
        Returns:
        String representing the sound file name.
      • getEvent

        public java.lang.String getEvent()
        Method which returns the description of the notification.
        Returns:
        String representing the notification's description.
      • setEnabled

        public void setEnabled(boolean enabled)
        Method which assigns the notification state.
        Parameters:
        enabled - true if the notification is enabled.
      • setProgram

        public void setProgram(boolean program)
        Method which set a boolean to true if a program is executed for the notification.
        Parameters:
        program - boolean for the program's presence.
      • setProgramFile

        public void setProgramFile(java.lang.String programFile)
        Method which assigns the program filename for the notification.
        Parameters:
        programFile - String representing the program file name.
      • setPopup

        public void setPopup(boolean popup)
        Method which set a boolean to true if a systray popup is executed for the notification.
        Parameters:
        popup - boolean for the presence of popup.
      • setSoundNotification

        public void setSoundNotification(boolean sound)
        Method which set a boolean to true a sound is playing for the notification.
        Parameters:
        sound - boolean for the presence of a sound for notification device.
      • setSoundPlayback

        public void setSoundPlayback(boolean sound)
        Method which set a boolean to true a sound is playing for the playback.
        Parameters:
        sound - boolean for the presence of a sound for playback device.
      • setSoundPCSpeaker

        public void setSoundPCSpeaker(boolean sound)
        Method which set a boolean to true a sound is playing for the pc speaker.
        Parameters:
        sound - boolean for the presence of a sound for pc speaker device.
      • setSoundFile

        public void setSoundFile(java.lang.String soundFile)
        Method which assigns the sound file name for the notification.
        Parameters:
        soundFile - String for the sound file name.
      • setEvent

        public void setEvent(java.lang.String event)
        Method which assigns the notification's description.
        Parameters:
        event - String to assigns a description of a notification.
Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.