org.jclouds.digitalocean.compute.functions
Class TemplateOptionsToStatementWithoutPublicKey
java.lang.Object
org.jclouds.compute.functions.TemplateOptionsToStatement
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.
- Author:
- Sergi Castro, Ignasi Barrera
|
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 |
TemplateOptionsToStatementWithoutPublicKey
public TemplateOptionsToStatementWithoutPublicKey()
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.