@Singleton public class InstallKeysAndRunScript extends Object implements NodeAndTemplateOptionsToStatement
Constructor and Description |
---|
InstallKeysAndRunScript() |
Modifier and Type | Method and Description |
---|---|
Statement |
apply(NodeMetadata node,
TemplateOptions options)
Returns the script that has to be executed in the given node.
|
public Statement apply(NodeMetadata node, TemplateOptions options)
NodeAndTemplateOptionsToStatement
apply
in interface NodeAndTemplateOptionsToStatement
null
if no script needs
to be run.Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.