CCNet_Monitor.pm

CCNet_Monitor

SYNOPSIS

Construct new Object of this type

 Constructor arguments:
   - instance name
   - CCNet project name
   - CCNet URL
   - Notification Object or Group
   - 1=>Announce suspects 0=>Do Not announce suspsects

Example initialization:

  $cont_build = new CCNet_Monitor('cont_build','ProgramSuite.Continuous.Build','http://dev-build1.development.programsuite.net/ccnet',$disco_light,1);
  $qa_build = new CCNet_Monitor('qa_build','ProgramSuite.QA.Build','http://dev-build1.development.programsuite.net/ccnet',undef,0);

DESCRIPTION

Gets ccnet status

Program will play sounds in the sound folder in the following format <ccnetProjectName>-<status>.wav and will set any object passed as the "Notification Object" to state "ON"

INHERITS

Base_Item

METHODS

UnDoc

INI PARAMETERS

NONE

AUTHOR

Jason Sharpee jason@sharpee.com

SEE ALSO

NONE

LICENSE

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

 CCNet_Monitor.pm