new({ServerParamsHashRef})
Create()
Delete()
Enable()
Disable()
IncrementJobCount()
DecrementJobCount()
Manifest()
Sync()
BuildForge::API::Server
my $Server = new BuildForge::API::Server(); $Server->{'name'} = "My Build Server"; $Server->{'hostname'} = "build.buildforge.com"; $Server->{'authid'} = "MyAuthId"; $Server->{'collector'} = "MyCollector"; $Server->Create();
This is available to use after a BuildForge::API object has been instantiated. It is used to create new BuildForge servers, and to access existing server definitions.
new({ServerParamsHashRef})
Create an object to access existing server information or to add a new server to the BuildForge console.
Create()
Create a new BuildForge Server. Requires server 'name', and 'hostname', 'authid', and 'collector' to be set.
Delete()
Deletes the server. Requires the server 'name' to be set.
Enable()
Enables the server. Requires the server 'name' to be set.
Disable()
Disables the server. Requires the server 'name' to be set.
IncrementJobCount()
Increases the Job count for a server. Requires the server 'name' to be set.
DecrementJobCount()
Decreases the Job count for a server - does not decrease below 0. Requires the server 'name' to be set.
Manifest()
Returns a hash-ref containing name/value pairs that are in the servers current manifest.
Sync()
Syncs the server object with information from the console database. Requires the server 'name' to be set.
BuildForge, Inc.