Package org.jclouds.compute.functions
Interface NodeAndTemplateOptionsToStatement
- 
- All Known Implementing Classes:
 InstallKeysAndRunScript,NodeAndTemplateOptionsToStatementWithoutPublicKey
public interface NodeAndTemplateOptionsToStatementReturns the statement to be executed on the node. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Statementapply(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 
nullif no script needs to be run. 
 
 - 
 
 -