org.jclouds.digitalocean.compute.functions
Class TemplateOptionsToStatementWithoutPublicKey

java.lang.Object
  extended by org.jclouds.compute.functions.TemplateOptionsToStatement
      extended by org.jclouds.digitalocean.compute.functions.TemplateOptionsToStatementWithoutPublicKey
All Implemented Interfaces:
com.google.common.base.Function<org.jclouds.compute.options.TemplateOptions,org.jclouds.scriptbuilder.domain.Statement>

@Singleton
public class TemplateOptionsToStatementWithoutPublicKey
extends org.jclouds.compute.functions.TemplateOptionsToStatement

Convert the template options into a statement, but ignoring the public key.

The DigitalOceanComputeServiceAdapter already takes care of installing it using the KeyPairApi.


Constructor Summary
TemplateOptionsToStatementWithoutPublicKey()
           
 
Method Summary
 org.jclouds.scriptbuilder.domain.Statement apply(org.jclouds.compute.options.TemplateOptions options)
           
 
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

TemplateOptionsToStatementWithoutPublicKey

public TemplateOptionsToStatementWithoutPublicKey()
Method Detail

apply

public org.jclouds.scriptbuilder.domain.Statement apply(org.jclouds.compute.options.TemplateOptions options)
Specified by:
apply in interface com.google.common.base.Function<org.jclouds.compute.options.TemplateOptions,org.jclouds.scriptbuilder.domain.Statement>
Overrides:
apply in class org.jclouds.compute.functions.TemplateOptionsToStatement


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