NAME

BuildForge::API::Class


SYNOPSIS

        my $Class = new BuildForge::API::Class();
        $Class->{'name'} = "My New Class";
        $Class->Create();


DESCRIPTION

    This class allows you to create, access, and delete BuildForge project
classes.


METHODS

new({ClassParamsHashRef})

Create an object to access existing class information, or to add a new class to the BuildForge console.

name
The name for the class

access_group_id
ID of the access level for this class

keep_builds
Number of builds to keep

keep_type
Type (AnyBuild|Only Failed|Only Passed|Keep 1 Pass)

keep_days
Number of days to keep builds around

purge_type
(Everything|Console Data|Logs & Files|Logs|Files)

purge_chain
Project to call on purge (Object or project_id)

entry_chain
Project to call on Class Change (Object or project_id)

exit_chain
Project to call on Class Change (Object or project_id)

Create()

Creates a new project Class. This method requires the variable 'name' be set within the class.

Delete()

Deletes the Class. Requires the class 'name' to be set.

Sync()

Syncs the object data with information from the console database.


AUTHOR

BuildForge, Inc.