public class NotificationEntry
extends java.lang.Object
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.
|
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.
|
public 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)
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.public boolean getEnabled()
public boolean getProgram()
public java.lang.String getProgramFile()
public boolean getPopup()
public boolean getSoundNotification()
public boolean getSoundPlayback()
public boolean getSoundPCSpeaker()
public java.lang.String getSoundFile()
public java.lang.String getEvent()
public void setEnabled(boolean enabled)
enabled
- true if the notification is enabled.public void setProgram(boolean program)
program
- boolean for the program's presence.public void setProgramFile(java.lang.String programFile)
programFile
- String representing the program file name.public void setPopup(boolean popup)
popup
- boolean for the presence of popup.public void setSoundNotification(boolean sound)
sound
- boolean for the presence of a sound for notification device.public void setSoundPlayback(boolean sound)
sound
- boolean for the presence of a sound for playback device.public void setSoundPCSpeaker(boolean sound)
sound
- boolean for the presence of a sound for pc speaker device.public void setSoundFile(java.lang.String soundFile)
soundFile
- String for the sound file name.public void setEvent(java.lang.String event)
event
- String to assigns a description of a notification.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.