Class TemplateToImage

java.lang.Object
org.jclouds.cloudstack.compute.functions.TemplateToImage
All Implemented Interfaces:
com.google.common.base.Function<Template,org.jclouds.compute.domain.Image>, 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

    Constructors
    Constructor
    Description
    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

    Modifier and Type
    Method
    Description
    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

    Methods inherited from interface java.util.function.Function

    andThen, compose
  • Constructor Details

    • 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 Details

    • 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>
      Specified by:
      apply in interface Function<Template,org.jclouds.compute.domain.Image>