The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Backup::Omni::Base - The base class for Backup::Omni

SYNOPSIS

 use Backup::Omni::Class
     version => '0.01',
     base    => 'Backup::Omni::Base'
 ;

DESCRIPTION

This module defines a base class for Backup::Omni and inherits from Badger::Base.

METHODS

new

Various arguments, based on the package variable PARAMS. This allows for parameter validation and the ability to override base parameters from inherited classes.

config($item)

This method will return an item from the internal class config. Which is usually the parameters passed to new() before any manipulation of those parameters.

$item

The item you want to return,

validation_exception($params, $class)

This method is used by Params::Validate to display it's failure message.

$params

The parameter that caused the exception.

$class

The class that it happened in.

SEE ALSO

 Backup::Omni::Class
 Backup::Omni::Utils
 Backup::Omni::Constants
 Backup::Omni::Exception
 Backup::Omni::Restore::Filesystem::Single
 Backup::Omni::Session::Filesystem
 Backup::Omni::Session::Messages
 Backup::Omni::Session::Monitor
 Backup::Omni::Session::Results

AUTHOR

Kevin L. Esteb, <kesteb@wsipc.org>

COPYRIGHT AND LICENSE

Copyright (C) 2013 by WSIPC

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.