Package org.jclouds.scriptbuilder
Class ExitInsteadOfReturn
java.lang.Object
com.google.common.collect.ForwardingObject
org.jclouds.scriptbuilder.ExitInsteadOfReturn
- All Implemented Interfaces:
Statement
public class ExitInsteadOfReturn
extends com.google.common.collect.ForwardingObject
implements Statement
you cannot return from a top-level script, so if you are using snippets that
issue
return
then you'll want to wrap them in this.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.google.common.collect.ForwardingObject
toString
-
Constructor Details
-
ExitInsteadOfReturn
-
-
Method Details
-
functionDependencies
- Specified by:
functionDependencies
in interfaceStatement
-
render
-
delegate
- Specified by:
delegate
in classcom.google.common.collect.ForwardingObject
-