public final class MainRemote extends Object
The class is immutable and thread-safe.
Modifier and Type | Class and Description |
---|---|
static interface |
MainRemote.Script
Script to execute.
|
Constructor and Description |
---|
MainRemote(Class<?> type)
Ctor.
|
MainRemote(Class<?> type,
String... passed)
Ctor.
|
public MainRemote(Class<?> type)
type
- Class with main methodpublic void exec(MainRemote.Script script) throws Exception
script
- Script to runException
- If failsCopyright © 2015–2016 Take. All rights reserved.