com.buildforge.services.client.dbo
Class Manifest

java.lang.Object
  extended by com.buildforge.services.client.dbo.Manifest

public class Manifest
extends java.lang.Object

Represents the manifests that are stored with Servers and generally contain either build-in properties like NUM_CPU or MAX_MEM or may contain custom properties like perl or java version.


Field Summary
static java.lang.Class<Manifest> CLASS
           
 
Constructor Summary
Manifest(APIClientConnection conn)
           
 
Method Summary
 java.lang.String getName()
          Returns the server name to which this manifest belongs
 java.util.Collection<ManifestProperty> getProperties()
          Returns all the properties associated with this Manifest
 ManifestProperty getProperty(java.lang.String propertyName)
          Retrieves a specific ManifestProperty by name
 java.lang.String getPropertyValue(java.lang.String propertyName)
          Convenience method to retrieve a specific ManifestProperty's value directly
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS

public static final java.lang.Class<Manifest> CLASS
Constructor Detail

Manifest

public Manifest(APIClientConnection conn)
Method Detail

getName

public java.lang.String getName()
Returns the server name to which this manifest belongs

Returns:
The server name to which this manifest belongs

getProperties

public java.util.Collection<ManifestProperty> getProperties()
Returns all the properties associated with this Manifest


getProperty

public ManifestProperty getProperty(java.lang.String propertyName)
Retrieves a specific ManifestProperty by name


getPropertyValue

public java.lang.String getPropertyValue(java.lang.String propertyName)
Convenience method to retrieve a specific ManifestProperty's value directly