org.jclouds.chef.domain
Class CookbookVersion

java.lang.Object
  extended by org.jclouds.chef.domain.CookbookVersion

public class CookbookVersion
extends Object

Cookbook object.


Nested Class Summary
static class CookbookVersion.Builder
           
 
Constructor Summary
protected CookbookVersion(String name, Set<Resource> definitions, Set<Attribute> attributes, Set<Resource> files, Metadata metadata, Set<Resource> providers, String cookbookName, Set<Resource> resources, Set<Resource> templates, Set<Resource> libraries, String version, Set<Resource> recipes, Set<Resource> rootFiles)
           
 
Method Summary
static CookbookVersion.Builder builder(String name, String version)
           
 boolean equals(Object obj)
           
 Set<Attribute> getAttributes()
           
 String getCookbookName()
           
 Set<Resource> getDefinitions()
           
 Set<Resource> getFiles()
           
 Set<Resource> getLibraries()
           
 Metadata getMetadata()
           
 String getName()
           
 Set<Resource> getRecipes()
           
 Set<Resource> getResources()
           
 Set<Resource> getRootFiles()
           
 Set<Resource> getSuppliers()
           
 Set<Resource> getTemplates()
           
 String getVersion()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CookbookVersion

@ConstructorProperties(value={"name","definitions","attributes","files","metadata","providers","cookbook_name","resources","templates","libraries","version","recipes","root_files"})
protected CookbookVersion(String name,
                                                     @Nullable
                                                     Set<Resource> definitions,
                                                     @Nullable
                                                     Set<Attribute> attributes,
                                                     @Nullable
                                                     Set<Resource> files,
                                                     Metadata metadata,
                                                     @Nullable
                                                     Set<Resource> providers,
                                                     String cookbookName,
                                                     @Nullable
                                                     Set<Resource> resources,
                                                     @Nullable
                                                     Set<Resource> templates,
                                                     @Nullable
                                                     Set<Resource> libraries,
                                                     String version,
                                                     @Nullable
                                                     Set<Resource> recipes,
                                                     @Nullable
                                                     Set<Resource> rootFiles)
Method Detail

builder

public static CookbookVersion.Builder builder(String name,
                                              String version)

getName

public String getName()

getDefinitions

public Set<Resource> getDefinitions()

getAttributes

public Set<Attribute> getAttributes()

getFiles

public Set<Resource> getFiles()

getMetadata

public Metadata getMetadata()

getSuppliers

public Set<Resource> getSuppliers()

getCookbookName

public String getCookbookName()

getResources

public Set<Resource> getResources()

getTemplates

public Set<Resource> getTemplates()

getLibraries

public Set<Resource> getLibraries()

getVersion

public String getVersion()

getRecipes

public Set<Resource> getRecipes()

getRootFiles

public Set<Resource> getRootFiles()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.