org.jclouds.chef.domain
Class Resource

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

public class Resource
extends Object

Resource object.


Nested Class Summary
static class Resource.Builder
           
 
Constructor Summary
protected Resource(String name, URI url, byte[] checksum, String path, String specificity)
           
 
Method Summary
static Resource.Builder builder()
           
 boolean equals(Object obj)
           
 byte[] getChecksum()
           
 String getName()
           
 String getPath()
           
 String getSpecificity()
           
 URI getUrl()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Resource

@ConstructorProperties(value={"name","url","checksum","path","specificity"})
protected Resource(String name,
                                              URI url,
                                              byte[] checksum,
                                              String path,
                                              String specificity)
Method Detail

builder

public static Resource.Builder builder()

getName

public String getName()

getUrl

public URI getUrl()

getChecksum

public byte[] getChecksum()

getPath

public String getPath()

getSpecificity

public String getSpecificity()

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.