Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
J
M
N
O
P
S
T
U
A
Agent
- interface org.backsource.alert.
Agent
.
Agent capabilities.
AlertCase
- class org.backsource.alert.
AlertCase
.
The alert test suite.
AlertCase()
- Constructor for class org.backsource.alert.
AlertCase
AlertError
- error org.backsource.alert.
AlertError
.
An Alert error, which signales that the service the agent tested is non functional.
AlertError()
- Constructor for class org.backsource.alert.
AlertError
AlertError(String)
- Constructor for class org.backsource.alert.
AlertError
AlertReporter
- class org.backsource.alert.
AlertReporter
.
A JUnit reporter that sends reports to the configured Senders.
AlertReporter()
- Constructor for class org.backsource.alert.
AlertReporter
AlertWarning
- error org.backsource.alert.
AlertWarning
.
An Alert warning, which signals that the service the agent tested is perhaps not fully working.
AlertWarning()
- Constructor for class org.backsource.alert.
AlertWarning
AlertWarning(String)
- Constructor for class org.backsource.alert.
AlertWarning
addError(Test, Throwable)
- Method in class org.backsource.alert.
AlertReporter
Interface TestListener.
addFailure(Test, Throwable)
- Method in class org.backsource.alert.
AlertReporter
Interface TestListener for JUnit <= 3.4.
addFailure(Test, AssertionFailedError)
- Method in class org.backsource.alert.
AlertReporter
Interface TestListener for JUnit > 3.4.
agentName
- Variable in class org.backsource.alert.agent.
BaseCase
B
BaseCase
- class org.backsource.alert.agent.
BaseCase
.
A base class for Agents.
BaseCase(String)
- Constructor for class org.backsource.alert.agent.
BaseCase
C
checkUrl(URL)
- Method in class org.backsource.alert.agent.
UrlCase
Check the given url, ok if 200 is returned.
checkUrl(URL, String)
- Method in class org.backsource.alert.agent.
UrlCase
Fetch the given url and check if it contains the string given i find.
connected(JabberConnectionEvent)
- Method in class org.backsource.alert.agent.
JabberAliveTest.JabberEventHandler
connectionError(ConnectionErrorEvent)
- Method in class org.backsource.alert.agent.
JabberAliveTest.JabberEventHandler
D
DB_ALIVE_URL
- Static variable in interface org.backsource.alert.
PropertyConstants
agent.dbalive.url
DIR_DIRS
- Static variable in interface org.backsource.alert.
PropertyConstants
agent.dir.dirs
DIR_FILE_AGE
- Static variable in interface org.backsource.alert.
PropertyConstants
agent.dir.fileage
DOCUMENT
- Static variable in interface org.backsource.alert.
PropertyConstants
alert.xml
DbAliveTest
- class org.backsource.alert.agent.
DbAliveTest
.
Legacy class from in that check a servlet that access a database.
DbAliveTest(String)
- Constructor for class org.backsource.alert.agent.
DbAliveTest
DirTest
- class org.backsource.alert.agent.
DirTest
.
Test if files in directories are older than a certains amount of milliseconds.
DirTest(String)
- Constructor for class org.backsource.alert.agent.
DirTest
DiskCheckTest
- class org.backsource.alert.agent.
DiskCheckTest
.
Test for disk usage.
DiskCheckTest(String)
- Constructor for class org.backsource.alert.agent.
DiskCheckTest
Drive
- class org.backsource.alert.util.
Drive
.
Represent a drive/partition in the filesystem.
df(String)
- Static method in class org.backsource.alert.util.
Drive
Run the df command an create drives.
dir(File)
- Static method in class org.backsource.alert.util.
Drive
Dir emultion on win with df installed.
disconnected(JabberConnectionEvent)
- Method in class org.backsource.alert.agent.
JabberAliveTest.JabberEventHandler
E
EXCLUDE
- Static variable in class org.backsource.alert.agent.
DiskCheckTest
agent.disk.exclude
endOfData(JabberConnectionEvent)
- Method in class org.backsource.alert.agent.
JabberAliveTest.JabberEventHandler
endTestSuite(JUnitTest)
- Method in class org.backsource.alert.
AlertReporter
The whole testsuite ended, send the reports.
executeSQL(Connection)
- Method in class org.backsource.alert.agent.
SQLTest
F
FACTORYREF
- Static variable in class org.backsource.alert.agent.
JmsLogTest
FTP_DIR
- Static variable in interface org.backsource.alert.
PropertyConstants
agent.ftp.dir
FTP_FILE_AGE
- Static variable in interface org.backsource.alert.
PropertyConstants
agent.ftp.fileage
FTP_HOST
- Static variable in interface org.backsource.alert.
PropertyConstants
agent.ftp.host
FTP_NO_FILES
- Static variable in interface org.backsource.alert.
PropertyConstants
agent.ftp.no.files
FTP_PWD
- Static variable in interface org.backsource.alert.
PropertyConstants
agent.ftp.pwd
FTP_TIMEOUT
- Static variable in interface org.backsource.alert.
PropertyConstants
agent.ftp.timeout
FTP_USER
- Static variable in interface org.backsource.alert.
PropertyConstants
agent.ftp.user
FtpAgent
- class org.backsource.alert.agent.
FtpAgent
.
FTP agent to check sanity of a dir on an ftp server.
FtpAgent(String)
- Constructor for class org.backsource.alert.agent.
FtpAgent
G
getAgentName()
- Method in class org.backsource.alert.agent.
BaseCase
Get the name of the agent instance.
getAgents()
- Static method in class org.backsource.alert.
PropertyUtil
Get an Element list of al the agents in the alert xml file.
getAlertDocument()
- Method in class org.backsource.alert.
PropertyUtil
Loads the alert xml file from tne file given in
PropertyConstants.DOCUMENT
, defaults to alert.xml.
getDrive(String)
- Static method in class org.backsource.alert.util.
Drive
Get a drive by its name, may be either device name or mount point name.
getDriveFromDf(String)
- Static method in class org.backsource.alert.util.
Drive
Parse a df line output and instantiate a Drive from it.
getDriveName()
- Method in class org.backsource.alert.util.
Drive
Get the name of the device.
getDrives()
- Static method in class org.backsource.alert.util.
Drive
Get all drives available on the system.
getDrives(String)
- Static method in class org.backsource.alert.util.
Drive
main entry for internal methods, delegates to correct os methods.
getFile()
- Method in class org.backsource.alert.util.
Drive
Get a file represenation of device, i.e filsystem mounted on device.
getFiles(FTPClient)
- Method in class org.backsource.alert.agent.
FtpAgent
Return a listing with only files, no dirs.
getPercentUsed()
- Method in class org.backsource.alert.util.
Drive
Get percent of disk used.
getProperties(Element)
- Static method in class org.backsource.alert.
PropertyUtil
Get all properties that where found under the given element.
getProperties()
- Static method in class org.backsource.alert.
PropertyUtil
Legacy method, should NOT be used.
getProperties()
- Method in class org.backsource.alert.agent.
BaseCase
Get the properties connected to this particular instance of the agent.
getSenders()
- Static method in class org.backsource.alert.
PropertyUtil
Get an Element list of al the senders in the alert xml file.
getSize()
- Method in class org.backsource.alert.util.
Drive
Get size of device in bytes.
getTest(String, String, String, Properties)
- Static method in class org.backsource.alert.
AlertCase
Dynalically create an Agent.
getUsed()
- Method in class org.backsource.alert.util.
Drive
Get number of bytes used.
getValues(String)
- Static method in class org.backsource.alert.
PropertyUtil
Get a list of values from a property with space separated values.
getWinDrives(String)
- Static method in class org.backsource.alert.util.
Drive
Entry for windows.
H
HTTP_PWD
- Static variable in interface org.backsource.alert.
PropertyConstants
agent.http.pwd
HTTP_REALM
- Static variable in interface org.backsource.alert.
PropertyConstants
agent.http.realm
HTTP_TIMEOUT
- Static variable in interface org.backsource.alert.
PropertyConstants
alert.http.timeout
HTTP_URL
- Static variable in interface org.backsource.alert.
PropertyConstants
alert.http.url
HTTP_USER
- Static variable in interface org.backsource.alert.
PropertyConstants
agent.http.user
hasCygwin()
- Static method in class org.backsource.alert.util.
Drive
Check if system has Cygwin installed (does a uname).
I
INCLUDE
- Static variable in class org.backsource.alert.agent.
DiskCheckTest
agent.disk.include
INITIAL_CONTEXT_FACTORY
- Static variable in class org.backsource.alert.agent.
JmsLogTest
The initial context factory to use.
initialize(String, Properties)
- Method in interface org.backsource.alert.
Agent
Initialize the agent with a unique describing name and its properties.
initialize(String, Properties)
- Method in class org.backsource.alert.agent.
BaseCase
Initialize the agent with a unique describing name and its properties.
instance()
- Static method in class org.backsource.alert.
PropertyUtil
Get the singleton instance wich owns the Document.
J
JABBER_PWD
- Static variable in interface org.backsource.alert.
PropertyConstants
agent.jabber.pwd
JABBER_SERVER
- Static variable in interface org.backsource.alert.
PropertyConstants
agent.jabber.server
JABBER_USER
- Static variable in interface org.backsource.alert.
PropertyConstants
agent.jabber.user
JDNI_URL
- Static variable in class org.backsource.alert.agent.
JmsLogTest
java.naming.provider.url
JabberAliveTest
- class org.backsource.alert.agent.
JabberAliveTest
.
Check that is possible to log into jabber.
JabberAliveTest(String)
- Constructor for class org.backsource.alert.agent.
JabberAliveTest
JabberAliveTest.JabberEventHandler
- class org.backsource.alert.agent.
JabberAliveTest.JabberEventHandler
.
JabberAliveTest.JabberEventHandler(JabberConnection)
- Constructor for class org.backsource.alert.agent.
JabberAliveTest.JabberEventHandler
JabberAliveTest.JabberEventHandler(JabberConnection, JabberID[])
- Constructor for class org.backsource.alert.agent.
JabberAliveTest.JabberEventHandler
JabberAliveTest.JabberEventHandler(JabberConnection, String)
- Constructor for class org.backsource.alert.agent.
JabberAliveTest.JabberEventHandler
JmsLogTest
- class org.backsource.alert.agent.
JmsLogTest
.
Test that makes a durable subscription against a topic/logging channel in amsterdam.
JmsLogTest(String)
- Constructor for class org.backsource.alert.agent.
JmsLogTest
M
MAIL_ERROR_TO
- Static variable in interface org.backsource.alert.
PropertyConstants
mail.to.error
MAIL_FROM
- Static variable in interface org.backsource.alert.
PropertyConstants
mail.from
MAIL_SERVER
- Static variable in interface org.backsource.alert.
PropertyConstants
mail.smtp.host
MAIL_WARNING_TO
- Static variable in interface org.backsource.alert.
PropertyConstants
mail.to.warning
MAX_PERCENT
- Static variable in class org.backsource.alert.agent.
DiskCheckTest
agent.disk.maxPercentUsed
MailSender
- class org.backsource.alert.sender.
MailSender
.
Send arror and warnings by mail.
MailSender()
- Constructor for class org.backsource.alert.sender.
MailSender
main(String[])
- Static method in class org.backsource.alert.
AlertCase
main(String[])
- Static method in class org.backsource.alert.
AlertReporter
main(String[])
- Static method in class org.backsource.alert.
PropertyUtil
main(String[])
- Static method in class org.backsource.alert.agent.
DbAliveTest
main(String[])
- Static method in class org.backsource.alert.agent.
DirTest
main(String[])
- Static method in class org.backsource.alert.agent.
FtpAgent
main(String[])
- Static method in class org.backsource.alert.agent.
JabberAliveTest
main(String[])
- Static method in class org.backsource.alert.agent.
ServerAliveTest
main(String[])
- Static method in class org.backsource.alert.agent.
UrlCase
main(String[])
- Static method in class org.backsource.alert.sender.
MailSender
main(String[])
- Static method in class org.backsource.alert.util.
Drive
N
newPacket(PacketEvent)
- Method in class org.backsource.alert.agent.
JabberAliveTest.JabberEventHandler
O
org.backsource.alert
- package org.backsource.alert
Toplevel package for alert.
org.backsource.alert.agent
- package org.backsource.alert.agent
org.backsource.alert.sender
- package org.backsource.alert.sender
org.backsource.alert.util
- package org.backsource.alert.util
P
PROPERTIES
- Static variable in interface org.backsource.alert.
PropertyConstants
alert.properties
PropertyConstants
- interface org.backsource.alert.
PropertyConstants
.
Constant used by classes in alert.
PropertyUtil
- class org.backsource.alert.
PropertyUtil
.
A singleton wich loads the xml definitions file, with some utility methods to use when parsing the xml.
prop
- Variable in class org.backsource.alert.agent.
BaseCase
prop
- Variable in class org.backsource.alert.sender.
SenderBase
S
SELECTOR
- Static variable in class org.backsource.alert.agent.
JmsLogTest
jms.logging.selector
SERVER_ALIVE_FIND
- Static variable in interface org.backsource.alert.
PropertyConstants
agent.serveralive.find
SERVER_ALIVE_URL
- Static variable in interface org.backsource.alert.
PropertyConstants
agent.serveralive.url
SMS_ERROR_TO
- Static variable in interface org.backsource.alert.
PropertyConstants
sms.to.error
SMS_LOCKFILE
- Static variable in interface org.backsource.alert.
PropertyConstants
sms.lockfile
SQLTest
- class org.backsource.alert.agent.
SQLTest
.
Execute a SQL query test.
SQLTest(String)
- Constructor for class org.backsource.alert.agent.
SQLTest
SQL_DRIVER
- Static variable in interface org.backsource.alert.
PropertyConstants
agent.sql.driver
SQL_PASS
- Static variable in interface org.backsource.alert.
PropertyConstants
agent.sql.pass
SQL_QUERY
- Static variable in interface org.backsource.alert.
PropertyConstants
agent.sql.query
SQL_URL
- Static variable in interface org.backsource.alert.
PropertyConstants
agent.sql.url
SQL_USER
- Static variable in interface org.backsource.alert.
PropertyConstants
agent.sql.user
Sender
- interface org.backsource.alert.
Sender
.
Interface of a sender.
SenderBase
- class org.backsource.alert.sender.
SenderBase
.
A simple base class for senders that implements Sender.
SenderBase()
- Constructor for class org.backsource.alert.sender.
SenderBase
ServerAliveTest
- class org.backsource.alert.agent.
ServerAliveTest
.
Agent that test a certain url and check the content returned.
ServerAliveTest(String)
- Constructor for class org.backsource.alert.agent.
ServerAliveTest
sendErrors(List, List)
- Method in interface org.backsource.alert.
Sender
Send the errors and warnings given.
sendErrors(List, List)
- Method in class org.backsource.alert.sender.
MailSender
sendErrors(List, List)
- Method in class org.backsource.alert.sender.
SenderBase
sendWarnings(List)
- Method in interface org.backsource.alert.
Sender
Send the warnings given.
sendWarnings(List)
- Method in class org.backsource.alert.sender.
MailSender
sendWarnings(List)
- Method in class org.backsource.alert.sender.
SenderBase
setProperties(Properties)
- Method in interface org.backsource.alert.
Sender
Set the properties of the sender.
setProperties(Properties)
- Method in class org.backsource.alert.sender.
SenderBase
Set the properties of the sender.
setUp()
- Method in class org.backsource.alert.agent.
BaseCase
setUp()
- Method in class org.backsource.alert.agent.
DbAliveTest
setUp()
- Method in class org.backsource.alert.agent.
DirTest
setUp()
- Method in class org.backsource.alert.agent.
DiskCheckTest
setUp()
- Method in class org.backsource.alert.agent.
FtpAgent
setUp()
- Method in class org.backsource.alert.agent.
JabberAliveTest
setUp()
- Method in class org.backsource.alert.agent.
JmsLogTest
setUp()
- Method in class org.backsource.alert.agent.
SQLTest
setUp()
- Method in class org.backsource.alert.agent.
ServerAliveTest
setUp()
- Method in class org.backsource.alert.agent.
UrlCase
setUp()
- Method in class org.backsource.alert.sender.
MailSender
setUp()
- Method in class org.backsource.alert.sender.
SenderBase
Callback method when Sender is initializes, sub classes should do its setup in this method.
startTestSuite(JUnitTest)
- Method in class org.backsource.alert.
AlertReporter
The whole testsuite started.
suite()
- Static method in class org.backsource.alert.
AlertCase
T
testDbAlive()
- Method in class org.backsource.alert.agent.
DbAliveTest
The test method that checks if the db servlet is ok.
testDiskSpace()
- Method in class org.backsource.alert.agent.
DiskCheckTest
testFileAge()
- Method in class org.backsource.alert.agent.
DirTest
Agent/test method.
testFtpFiles()
- Method in class org.backsource.alert.agent.
FtpAgent
Test log in to the given ftp host.
testLoggmessages()
- Method in class org.backsource.alert.agent.
JmsLogTest
Check if there are any logmessages that fits the selector that has arrived since last check: send em all as an error.
testLogin()
- Method in class org.backsource.alert.agent.
JabberAliveTest
Agent/test method.
testQuery()
- Method in class org.backsource.alert.agent.
SQLTest
testServerAlive()
- Method in class org.backsource.alert.agent.
ServerAliveTest
The agent/test method.
testUrl()
- Method in class org.backsource.alert.agent.
UrlCase
Run the test agains the url given in property
PropertyConstants.HTTP_URL
.
toString()
- Method in class org.backsource.alert.agent.
BaseCase
Owerridden to add the agent name to the string.
toString()
- Method in class org.backsource.alert.util.
Drive
Get a string rep of device, looking like a df line.
U
URL_PKG_PREFIXES
- Static variable in class org.backsource.alert.agent.
JmsLogTest
The url package prefixes.
UrlCase
- class org.backsource.alert.agent.
UrlCase
.
BaseClass for URL based testcases.
UrlCase(String)
- Constructor for class org.backsource.alert.agent.
UrlCase
A
B
C
D
E
F
G
H
I
J
M
N
O
P
S
T
U
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2002-2004 Backsource. All Rights Reserved.