# --
# Kernel/Config/GenericAgent.pm - config file of generic agent
# Copyright (C) 2002-2004 Martin Edenhofer <martin+code@otrs.org>
# --
# $Id: GenericAgent.pm.dist,v 1.7 2004/02/12 00:55:01 martin Exp $
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see 
# the enclosed file COPYING for license information (GPL). If you 
# did not receive this file, see http://www.gnu.org/licenses/gpl.txt.
# --

package Kernel::Config::GenericAgent;

use strict;
use vars qw($VERSION @ISA @EXPORT %Jobs);
require Exporter;
@ISA = qw(Exporter);
@EXPORT = qw(%Jobs);  

$VERSION = '$Revision: 1.7 $';
$VERSION =~ s/^\$.*:\W(.*)\W.+?$/$1/;

# -----------------------------------------------------------------------
# config options
# -----------------------------------------------------------------------
%Jobs = (
   # --
   # [name of job] -> send escalation notifications 
   # --
#   'send escalation notifications' => {
#      Escalation => 1,  
#      # new ticket properties
#      New => {
#          Module => 'Kernel::System::GenericAgent::NotifyAgentGroupOfCustomQueue',
#      },
#   },
   # insert your jobs (see Kernel/Config/GenericAgent.pm.examples)

);
# -----------------------------------------------------------------------
# end of config options
# -----------------------------------------------------------------------
# -----------------------------------------------------------------------
# config options
# -----------------------------------------------------------------------
%Jobs = (
  # insert your jobs (see Kernel/Config/GenericAgent.pm.examples)
  # --
   #[name of job]->close and delele all tickets in queue Junk
   # --
   'Junk'=>{
	#get all tickets with this properties
	Queue => 'Junk',
	States => ['new', 'open'],
	Locks => ['lock', 'unlock'],
	#new ticket properties (no option is required, use just the options
	#which should be changed!)
	New => {
	 #DELETE!
	 Delete => 1,
	},
       },

);
1;
