Package org.jclouds.compute.functions
Class InstallKeysAndRunScript
java.lang.Object
org.jclouds.compute.functions.InstallKeysAndRunScript
- All Implemented Interfaces:
NodeAndTemplateOptionsToStatement
@Singleton
public class InstallKeysAndRunScript
extends Object
implements NodeAndTemplateOptionsToStatement
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply
(NodeMetadata node, TemplateOptions options) Returns the script that has to be executed in the given node.
-
Constructor Details
-
InstallKeysAndRunScript
public InstallKeysAndRunScript()
-
-
Method Details
-
apply
Description copied from interface:NodeAndTemplateOptionsToStatement
Returns the script that has to be executed in the given node.- Specified by:
apply
in interfaceNodeAndTemplateOptionsToStatement
- Returns:
- The script to be executed or
null
if no script needs to be run.
-