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 java.lang.String
executeNative(java.lang.String command)
static java.lang.String
executeNative(java.lang.String... commands)
static java.lang.Process
executeNativeAsync(java.lang.String command)
static java.lang.Process
executeNativeAsync(java.lang.String... commands)
java.io.PrintStream
getErr()
java.io.PrintStream
getOut()
java.lang.String
getPlatformProperty(java.lang.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 java.io.PrintStream getOut()
-
getErr
public java.io.PrintStream getErr()
-
getPlatformProperty
public java.lang.String getPlatformProperty(java.lang.String property)
-
execAsync
public void execAsync() throws EolRuntimeException
- Throws:
EolRuntimeException
-
executeNative
public static final java.lang.String executeNative(java.lang.String command) throws java.io.IOException
- Parameters:
command
-- Returns:
- Throws:
java.io.IOException
- Since:
- 2.2
-
executeNative
public static final java.lang.String executeNative(java.lang.String... commands) throws java.io.IOException
- Parameters:
commands
-- Returns:
- Throws:
java.io.IOException
- Since:
- 2.2
-
executeNativeAsync
public static final java.lang.Process executeNativeAsync(java.lang.String command) throws java.io.IOException
- Parameters:
command
-- Returns:
- Throws:
java.io.IOException
- Since:
- 2.2
-
executeNativeAsync
public static final java.lang.Process executeNativeAsync(java.lang.String... commands) throws java.io.IOException
- Parameters:
commands
-- Returns:
- Throws:
java.io.IOException
- Since:
- 2.2
-
-