org.jclouds.compute.domain.internal
Class TemplateImpl

java.lang.Object
  extended by org.jclouds.compute.domain.internal.TemplateImpl
All Implemented Interfaces:
Cloneable, Template

public class TemplateImpl
extends Object
implements Template

Author:
Adrian Cole

Constructor Summary
TemplateImpl(Image image, Hardware size, Location location, TemplateOptions options)
           
 
Method Summary
protected  Object clone()
          
 boolean equals(Object obj)
           
 Hardware getHardware()
          Size that suits the requirements.
 Image getImage()
          Image that suits the requirements.
 Location getLocation()
          Location of the nodes.
 TemplateOptions getOptions()
          options for launching this template, like run scripts or inbound ports
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TemplateImpl

public TemplateImpl(Image image,
                    Hardware size,
                    Location location,
                    TemplateOptions options)
Method Detail

getImage

public Image getImage()
Image that suits the requirements.

Specified by:
getImage in interface Template

getHardware

public Hardware getHardware()
Size that suits the requirements.

Specified by:
getHardware in interface Template

getLocation

public Location getLocation()
Location of the nodes.

Specified by:
getLocation in interface Template

getOptions

public TemplateOptions getOptions()
options for launching this template, like run scripts or inbound ports

Specified by:
getOptions in interface Template

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

clone

protected Object clone()
                throws CloneNotSupportedException

Overrides:
clone in class Object
Throws:
CloneNotSupportedException


Copyright © 2009-2011 jclouds. All Rights Reserved.