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 Constructor Description InstallKeysAndRunScript()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Statement
apply(NodeMetadata node, TemplateOptions options)
Returns the script that has to be executed in the given node.
-
-
-
Method Detail
-
apply
public Statement apply(NodeMetadata node, TemplateOptions options)
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.
-
-