@Immutable public static final class Script.Default extends Object implements Script
Script.Default, Script.Fake
Constructor and Description |
---|
Script.Default(String text)
Ctor.
|
Script.Default(URL url)
Ctor.
|
public Script.Default(URL url) throws IOException
url
- Resource URLIOException
- If failspublic Script.Default(String text)
text
- Content of scriptpublic String exec(String host, Map<String,String> args) throws IOException
Script
exec
in interface Script
host
- The host to run it onargs
- Arguments to pass into itIOException
- If failsCopyright © 2014–2015 Thindeck Inc.. All rights reserved.