1 /**********************************************************************
2 * Copyright (c) 2012, 2015 Ericsson
4 * All rights reserved. This program and the accompanying materials are
5 * made available under the terms of the Eclipse Public License v1.0 which
6 * accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
10 * Bernd Hufmann - Initial API and implementation
11 * Markus Schorn - Bug 448058: Use org.eclipse.remote in favor of RSE
12 **********************************************************************/
13 package org
.eclipse
.tracecompass
.tmf
.remote
.core
.shell
;
15 import org
.eclipse
.core
.commands
.ExecutionException
;
16 import org
.eclipse
.core
.runtime
.IProgressMonitor
;
17 import org
.eclipse
.jdt
.annotation
.Nullable
;
20 * Interface for a command shell implementation
22 * @author Bernd Hufmann
24 public interface ICommandShell
{
27 * Method to disconnect the command shell.
32 * Method to execute a command on the command shell.
35 * The command to executed
38 * @return a {@link ICommandResult} instance
39 * @throws ExecutionException
40 * If the command fails
42 ICommandResult
executeCommand(ICommandInput command
, @Nullable IProgressMonitor monitor
) throws ExecutionException
;
45 * Creates a command input instance
47 * @return {@link ICommandInput} instance
50 ICommandInput
createCommand();
This page took 0.046446 seconds and 5 git commands to generate.