Package org.eclipse.epsilon.eol.tools
Class EolSystem
- java.lang.Object
-
- org.eclipse.epsilon.eol.tools.AbstractTool
-
- org.eclipse.epsilon.eol.tools.EolSystem
-
- All Implemented Interfaces:
ITool
public class EolSystem extends AbstractTool
-
-
Field Summary
-
Fields inherited from class org.eclipse.epsilon.eol.tools.AbstractTool
context
-
-
Constructor Summary
Constructors Constructor Description EolSystem()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execAsync()
static String
executeNative(String command)
static String
executeNative(String... commands)
static Process
executeNativeAsync(String command)
static Process
executeNativeAsync(String... commands)
PrintStream
getErr()
PrintStream
getOut()
String
getPlatformProperty(String property)
IUserInput
getUser()
-
Methods inherited from class org.eclipse.epsilon.eol.tools.AbstractTool
getContext, initialize, setContext
-
-
-
-
Method Detail
-
getUser
public IUserInput getUser()
-
getOut
public PrintStream getOut()
-
getErr
public PrintStream getErr()
-
execAsync
public void execAsync() throws EolRuntimeException
- Throws:
EolRuntimeException
-
executeNative
public static final String executeNative(String command) throws IOException
- Parameters:
command
-- Returns:
- Throws:
IOException
- Since:
- 2.2
-
executeNative
public static final String executeNative(String... commands) throws IOException
- Parameters:
commands
-- Returns:
- Throws:
IOException
- Since:
- 2.2
-
executeNativeAsync
public static final Process executeNativeAsync(String command) throws IOException
- Parameters:
command
-- Returns:
- Throws:
IOException
- Since:
- 2.2
-
executeNativeAsync
public static final Process executeNativeAsync(String... commands) throws IOException
- Parameters:
commands
-- Returns:
- Throws:
IOException
- Since:
- 2.2
-
-