NAME

Tapper::Cmd::Scenario - Backend functions for manipulation of scenario in the database

SYNOPSIS

This project offers backend functions for all projects for manipulation the database on a higher level than that offered by Tapper::Schema.

use Tapper::Cmd::Scenario;

my $bar = Tapper::Cmd::Scenario->new();
$bar->add($scenario);
...

FUNCTIONS

add

Add a new scenario to database.

add

Add a new scenario to database

@param hash ref - options for new scenario

@return success - scenario id @return error - undef

del

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

@param int - testrun id

@return success - 0 @return error - error string

AUTHOR

AMD OSRC Tapper Team, <tapper at amd64.org>

BUGS

Please report any bugs or feature requests to osrc-sysin at elbe.amd.com, or through the web interface at https://osrc/bugs. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

COPYRIGHT & LICENSE

Copyright 2008-2011 AMD OSRC Tapper Team, all rights reserved.

This program is released under the following license: freebsd