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
Modifier and TypeMethodDescriptionapply(NodeMetadata node, TemplateOptions options) Returns the script that has to be executed in the given node.
-
Method Details
-
apply
Returns the script that has to be executed in the given node.- Returns:
- The script to be executed or
nullif no script needs to be run.
-