org.jclouds.cloudstack.compute.functions
Class TemplateToImage

java.lang.Object
  extended by org.jclouds.cloudstack.compute.functions.TemplateToImage
All Implemented Interfaces:
com.google.common.base.Function<Template,org.jclouds.compute.domain.Image>

@Singleton
public class TemplateToImage
extends Object
implements com.google.common.base.Function<Template,org.jclouds.compute.domain.Image>


Constructor Summary
TemplateToImage(com.google.common.base.Supplier<Set<? extends org.jclouds.domain.Location>> locations, com.google.common.base.Function<Template,org.jclouds.compute.domain.OperatingSystem> templateToOperatingSystem)
           
 
Method Summary
 org.jclouds.compute.domain.Image apply(Template template)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.common.base.Function
equals
 

Constructor Detail

TemplateToImage

@Inject
public TemplateToImage(com.google.common.base.Supplier<Set<? extends org.jclouds.domain.Location>> locations,
                              com.google.common.base.Function<Template,org.jclouds.compute.domain.OperatingSystem> templateToOperatingSystem)
Method Detail

apply

public org.jclouds.compute.domain.Image apply(Template template)
Specified by:
apply in interface com.google.common.base.Function<Template,org.jclouds.compute.domain.Image>


Copyright © 2009-2013 jclouds. All Rights Reserved.