NAME

Tapper::Cmd::Queue

SYNOPSIS

This project offers backend functions for all projects that manipulate queues in the database. This module handles the testrun part.

use Tapper::Cmd::Queue;

my $bar = Tapper::Cmd::Queue->new();
$bar->add($testrun);
...

NAME

Tapper::Cmd::Queue - Backend functions for manipluation of queues in the database

FUNCTIONS

add

Add a new queue to database.

add

Add a new queue. -- required -- * name - string * priority - int

@param hash ref - options for new queue

@return success - queue id @return error - undef

update

Changes values of an existing queue.

@param int - queue id @param hash ref - overwrite these options

@return success - queue id @return error - undef

del

Delete a queue with given id. Its named del instead of delete to prevent confusion with the buildin delete function.

@param int - queue id

@return success - 0 @return error - error string

AUTHOR

AMD OSRC Tapper Team <tapper@amd64.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2012 by Advanced Micro Devices, Inc..

This is free software, licensed under:

The (two-clause) FreeBSD License