Package org.jclouds.compute.functions
Interface NodeAndTemplateOptionsToStatement
-
- All Known Implementing Classes:
InstallKeysAndRunScript
,NodeAndTemplateOptionsToStatementWithoutPublicKey
public interface NodeAndTemplateOptionsToStatement
Returns the statement to be executed on the node.
-
-
Method Summary
All Methods Instance Methods Abstract 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
@Nullable Statement apply(NodeMetadata node, TemplateOptions options)
Returns the script that has to be executed in the given node.- Returns:
- The script to be executed or
null
if no script needs to be run.
-
-