BuildForge::Services::DBO::ManifestProperty
use BuildForge::Services;
$conn = new BuildForge::Services::Connection($hostname); $token = $conn->authUser($user, $pass); # Getting manifest properties $servers = BuildForge::Services::DBO::Server->findAll($conn); $manifest = $servers->[0]->getManifest(); $properties = $manifest->getProperties(); $property = $manifest->getProperty('BF_JOBS'); # Getter functions $manifest = $property->getParent(); $serverName = $property->getServerName(); $name = $manifest->getPropertyName(); $value = $manifest->getPropertyValue(); $category = $manifest->getPropertyCategory(); $conn->logout; $conn->close;
ManifestProperty allows you to access the individual properties in the manifest of a
specific BuildForge server. See BuildForge::Services::DBO::Manifest->getProperty()
or
getProperties()
to see how to get the ManifestProperty objects.
getParent()
Returns the parent BuildForge::Services::DBO::Manifest object for this manifest property.
getServerName()
Returns the server name of the server that this manifest property is connected to.
getPropertyName()
Returns the name of the manifest property.
getPropertyValue()
Returns the value of the manifest property.
getPropertyCategory()
Returns the category of the manifest property. This may be 'NORMAL' for built-in properties, 'AUTO' for properties set by the user, and 'USER' for run command properties. See BuildForge::Services::DBO::CollectorProperty for information on how the manifest properties are created.
Copyright (c)2006-2007 International Business Machines, Inc. All rights reserved.