1 /**********************************************************************
2 * Copyright (c) 2012 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 **********************************************************************/
12 package org
.eclipse
.linuxtools
.lttng
.stubs
.service
.shells
;
14 import org
.eclipse
.core
.commands
.ExecutionException
;
15 import org
.eclipse
.core
.runtime
.IProgressMonitor
;
16 import org
.eclipse
.linuxtools
.lttng
.ui
.views
.control
.service
.CommandResult
;
17 import org
.eclipse
.linuxtools
.lttng
.ui
.views
.control
.service
.ICommandResult
;
18 import org
.eclipse
.linuxtools
.lttng
.ui
.views
.control
.service
.ICommandShell
;
20 public class TestCommandShell
implements ICommandShell
{
22 protected boolean fIsConnected
= false;
25 public void connect() throws ExecutionException
{
30 public void disconnect() {
35 public ICommandResult
executeCommand(String command
, IProgressMonitor monitor
) throws ExecutionException
{
36 return executeCommand(command
, monitor
, true);
40 public ICommandResult
executeCommand(String command
, IProgressMonitor monitor
, boolean checkReturnValue
) throws ExecutionException
{
44 return new CommandResult(0, new String
[0]);
This page took 0.031957 seconds and 6 git commands to generate.